return back

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
munihzagrep
Posts: 2
Joined: Mon Dec 10, 2007 1:23 am

return back

Post 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
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post 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. :)
Best regards,
Igor Siticov.
munihzagrep
Posts: 2
Joined: Mon Dec 10, 2007 1:23 am

Post 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
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Unfortunately, there is no way to perform this automatically. The only way is to do this by hand.
Best regards,
Igor Siticov.
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply