Hello, I don't want to translate some title in each form, Is there a possibilty to translate it once and to reference in each form to the central point?
Thanks a lot
Thomas
I'm using C++ Builder 6, 6.1, Dispatcher, LangRT, and SIL file
How to process with common titles
This will require some "manual" work:
1. You can declare some global string variables in some common unit.
2. Create some function that will initialize these variables with the content.
3. Translate this function content using TsiLang Expert (File -> Source menu)
4. Under OnChangeLanguage event of TsiLang you will need to call this function.
5. In other forms you will need to initialize you UI controls with these variables and repeat this on every language change event.
But it will be dramatically simple to leave them as they are and just re-type translations. You can add your translations to Dictionary and later just use Auto-Translate to speed-up the translation.
Hope this helps.
1. You can declare some global string variables in some common unit.
2. Create some function that will initialize these variables with the content.
3. Translate this function content using TsiLang Expert (File -> Source menu)
4. Under OnChangeLanguage event of TsiLang you will need to call this function.
5. In other forms you will need to initialize you UI controls with these variables and repeat this on every language change event.
But it will be dramatically simple to leave them as they are and just re-type translations. You can add your translations to Dictionary and later just use Auto-Translate to speed-up the translation.
Hope this helps.
Best regards,
Igor Siticov.
Igor Siticov.
Thanks a lot, but how can I do this?
I add a new row in the Dictionary
"Betreff" (German), "Subject" (English)
and saved.
I opened my form and the Translation Editor add in the German column
"Betreff" and in the English column "Subjects" which is of course wrong.
I clicked on Suggestion and Auto Translate and Translate all.
But the wrong word "Subjects" was still the translation of "Betreff".
What did I wrong?
Thanks for your help
I add a new row in the Dictionary
"Betreff" (German), "Subject" (English)
and saved.
I opened my form and the Translation Editor add in the German column
"Betreff" and in the English column "Subjects" which is of course wrong.
I clicked on Suggestion and Auto Translate and Translate all.
But the wrong word "Subjects" was still the translation of "Betreff".
What did I wrong?
Thanks for your help