Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-09

Difference between Lazarus 1.4.2 and 1.5 of i18n

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael W. Vogel

Hi,

In Lazarus 1.4.2, ifIactivateintheproject
optionsi18n,thecaptionsofthecontrolsare inserted intothe.po. If I do the same in Lazarus 1.5, only resourcestrings, not the captions are inserted.

I checked the project.lpi and see following lines: <i18n>
<EnableI18N Value="True" LFM="False"/>
<OutDir Value="languages"/>
</i18n>

If I remove LFM="False" then also the control captions are saved in the .po. So I think there is a new project option to activate / deactivate the saving of the captions into the .po, but I din't find such a option.

Can you tell me, where to find this project option in Lazarus 1.5? If there isn't such a option, can you tell me, why LFM="False" is inserted in the project.lpi?

I also asked in the German Lazarusforum with no answer till now: http://www.lazarusforum.de/viewtopic.php?f=19&t=9041

Thank you

Michael

Reply by email

Mattias Gaertner
to Michael W. Vogel: In Lazarus 1.4.2, ifIactivateintheproject optionsi18n,thecaptionsofthecontrolsare…
Show quoted text 16 lines
Hi, In Lazarus 1.4.2, ifIactivateintheproject optionsi18n,thecaptionsofthecontrolsare inserted intothe.po. If I do the same in Lazarus 1.5, only resourcestrings, not the captions are inserted. I checked the project.lpi and see following lines: <i18n> <EnableI18N Value="True" LFM="False"/> <OutDir Value="languages"/> </i18n> If I remove LFM="False" then also the control captions are saved in the .po. So I think there is a new project option to activate / deactivate the saving of the captions into the .po, but I din't find such a option.

Someone broke the layout of the i18n frame of the project options. The checkbox was hidden below the bottom.
I fixed it.

Can you tell me, where to find this project option in Lazarus 1.5? If there isn't such a option, can you tell me, why LFM="False" is inserted in the project.lpi?

The default is true, i.e. normally it is not inserted.

Mattias

Reply by email

Michael W. Vogel
to Mattias Gaertner
Mattias Gaertner wrote
Someone broke the layout of the i18n frame of the project options. The checkbox was hidden below the bottom. I fixed it.

Thank you,

I've tested revision 49855 and it works fine now :)

kind regards

Michael

Reply by email