Page 1 of 1
return back
Posted: Mon Dec 10, 2007 12:40 pm
by munihzagrep
Hello, what i wonder is
is it possible to return the project to the state before tsilang component.
tsicomponents change eveything to "Gettext()" as expected but what i wonder is , is it posible to retun the source code to the first state.
and if it is posible can i select the first state language.
thanks in advance
Posted: Mon Dec 10, 2007 3:34 pm
by isiticov
Hello,
You can:
1. Switch language at design-time to needed value (this will give you UI in needed language).
2. Remove all GetText... call from code. TsiLang Expert after replacement leaves original string content in comments, so you can restore it.
3. Delete all TsiLang components from forms.
This way you will have "almost" reverted back state of your project. But the best! way will be just to use backup copy.

Posted: Mon Dec 10, 2007 5:26 pm
by munihzagrep
thank you for your answer ,
it works for forms caption etc...
but as for the hardcoded string that turns "gettext" after tsilang,
you are saying that i have to do it by hand , using the comments.
i hope there is an other way that silang expert could do it for me just like in the beginning it found the hardcoded strings and turn it to gettext ones.
is there a way to do it like that, because project is very big
Posted: Mon Dec 10, 2007 5:29 pm
by isiticov
Unfortunately, there is no way to perform this automatically. The only way is to do this by hand.
Posted: Mon Dec 10, 2007 5:31 pm
by isiticov
Are you sure you need to remove TsiLang from your project? May be you just hard-code the active language and use TsiLang but just without language switching.