[Lazarus] TAChart Localization
Maxim Ganetsky
ganmax at narod.ru
Sat Dec 12 22:23:59 CET 2015
12.12.2015 19:44, Werner Pamler пишет:
> This is work in progress and will probably change. I just wanted to
> store a working stage before I'd dive into a more difficult part - maybe
> somebody can help me with that: TAChart registers the names of series
> types in an internal stringlist. These texts are used in the dropdown
> for series selection in the GUI designer. But this registration is
> called by the initialization section of the corresponding unit, i.e.
> before translation is performed.
>
> Does anybody know of similar situations in the IDE or other packages
> from which I could learn how to handle this case correctly?
The basic method to solve this is to move these assignments (or assign
these values for a second time) to a later stage, e.g. OnCreate event of
the GUI designer form.
> Am 12.12.2015 um 15:30 schrieb Péter Gábor:
>> Hi!
>>
>> At r50753 "wp" created the support for localization of TAChart, but it
>> is in 6 separate files.
>> Most of these files contains only 1 (one) sentence (four is the most).
>>
>> I think there is no reason for this fragmentation, especially because
>> these strings are used only in the GUI designer of Lazarus IDE.
>>
>> Please pack them into one PO file.
>>
>> Thanks!
--
Best regards,
Maxim Ganetsky mailto:ganmax at narod.ru
More information about the Lazarus
mailing list