[Lazarus] Difference between Lazarus 1.4.2 and 1.5 of i18n

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Sep 20 17:11:35 CEST 2015


On Sun, 20 Sep 2015 13:26:55 +0200
"Michael W. Vogel" <m-w-vogel at gmx.de> wrote:

> 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




More information about the Lazarus mailing list