Hi
Is there a way to share translations between forms?
I mean, we have many many forms that share same translation on buttons like "OK" and "CANCEL". Is there a way to easily share these translations amoung forms on design time?
I mean, I don´t want to code each form as for example:
btnOK.Caption := GetTextOrDefault('IDS_1000' (* 'OK' *) );
btnCancel.Caption := GetTextOrDefault('IDS_1001' (* 'Cancel' *) );
I would like to know if there is a solution direct on translation manager
Thanks
Shared translations?
Hello,
You can either define such strings in one common unit as global variables and translate them with TsiLang and use these variable in different units. Or use Auto-translate option to translate these strings in Translation Manager automatically.
P.S. I hope you know that GetTextOrDefault() code could be translated by TsiLang Expert when translating your source code and you don't need to type it.
You can either define such strings in one common unit as global variables and translate them with TsiLang and use these variable in different units. Or use Auto-translate option to translate these strings in Translation Manager automatically.
P.S. I hope you know that GetTextOrDefault() code could be translated by TsiLang Expert when translating your source code and you don't need to type it.
Best regards,
Igor Siticov.
Igor Siticov.
-
- Posts: 34
- Joined: Thu Jul 30, 2009 2:37 pm
Igor
I thought about the solution of defining some global stuff, but as I stated on my first post I don´t want to alter all screens to translate those on code, but if there is no other way...
The auto translate is good, but still, we don´t eliminate the main problem that is to store repeated translations on source code
I thought about the solution of defining some global stuff, but as I stated on my first post I don´t want to alter all screens to translate those on code, but if there is no other way...
The auto translate is good, but still, we don´t eliminate the main problem that is to store repeated translations on source code