|
Mattias Gaertner ha scritto: [...] In the QTraslate unit which is included in the uses statement of the custom component modules, and which is created when loaded with strings. Otherwise it's present but unassigned.Where is Trasl defined? [...] Under Delphi/Kilix it was. Good to know. That's why my Caption returns the English value and not the translated one. The Translated caption is only displayed, but programmer deals only with the original string.- It's a little bit too specific. We already have problems with same english value and different translations. I'll try, and if it provides the required functionality, I'll gladly throw away my hack.- All LCL captions have already a special type: TTranslateString. Just go through all components with RTTI and translate these properties. Then you have not only the value, but the class as well to find the correct translation. We don't need to extend the LCL controls with code. Just use TTranslateString. Thanks, Giuliano _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives |
- [lazarus] run-time traslation feature Giuliano Colla
- Re: [lazarus] run-time traslation feature Mattias Gaertner
- Re: [lazarus] run-time traslation feature Giuliano Colla
- Re: [lazarus] run-time traslation feature Mattias Gaertner
