Different languages in the separate *.sil

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
bigjohn
Posts: 2
Joined: Wed Oct 06, 2004 11:22 am

Different languages in the separate *.sil

Post by bigjohn »

Hi.

I need to have the different languages stored in the separate *.sil files (English.sil, Dutch.sil etc).
I can implement it by manually creation of these files and then use LoadAllFromFile method to get appropriate language strings. But maybe there is another way to do it a little easier?

Regards.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This is already quite easy way :) But also you may take a look at LoadLanguage() method of TsiLang.
Last edited by isiticov on Fri Oct 08, 2004 4:47 pm, edited 1 time in total.
bigjohn
Posts: 2
Joined: Wed Oct 06, 2004 11:22 am

Post by bigjohn »

isiticov wrote:This is already quite easy way :)
Yes, really. It's not too hard :)
But how about translation? In this case I need to update all translated strings in all the files manually.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

You can hold all languages in one file on your side and just before release create each language file by deleting all languages except needed and save file under different name.
Post Reply