Page 1 of 1

How to completely manage the language translation by config

Posted: Fri Jan 26, 2007 11:05 am
by ecottard@free.fr
Hi, me again,

I've decided to go through a new step for my translation and i want to put all that stuff in the sib/sil file...

I've got one more question, I try to create a new language (japanese).
So I edit the sib file and add a language dynamically, very easy and intuitive....

I made a modification inside my code to get all the available language in the dispatcher (a small file, that list the available language in the sib file)
I do that in adding te language in the LangNames stringlist. When I select in the dispatcher the new language (JAP) I've got a problem inside the form that told me the language is not supported....

Must I made a change in the code to also add dynamically the language in the form ? if yes my problems is that the form is loaded dynamically so i do not have access to the tsilang object before it"s creation..

regards
E

Posted: Fri Jan 26, 2007 12:02 pm
by isiticov
If you properly load SIL/SIB file at run-time (suggestion is here: http://www.tsilang.com/delphiglobalizat ... aq.html#19) then your TsiLang and TsiLangDispatcher will already list all the languages available in the external file.

Posted: Fri Jan 26, 2007 12:37 pm
by ecottard@free.fr
:lol: thanks again it works perfectly and it's very easy ...

regards
E