Hello,
I just looked how to make multilanguage app. I found a translation example in lazarus distribution. I see there is a some drawback with need of manual edit the *.lfm file. Therefore I wrapped the funcionality from "localizedforms.pas" into the component.
- Just put into a form
- Enable i18n in project options
- Edit *.po files
- Call Localize method from component
I found interesting thing. The directory for languages has to be named languages - (in i18n project options). Other names won't work. (at least for me.... lazarus 1.2.4 - Win7 ?)
And also I have a question, if droped component on form can somehow modify project Options - Automatically enabling i18n. (To avoid manually enabling i18n in project options)
You can check it in attachment