SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Erratic behaviour on change of language
Goto page Previous  1, 2
 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Tue Sep 05, 2006 8:38 am    Post subject: Reply with quote

James Campion wrote:
Hi Igor, it works fine according to our chinese customer.


Great!

Quote:

Question.
Our software is distributed with several sil files and hidden keys which open up for the languages in the sil files. The choice of languages is dependent upon both the Sil file and the key.

On startup I open the Sil file count and load the languages. The key then determines what languages are displayed in the SiCombo.

It works fine with the Sil file so I assume this is also the case with a Sib file.


With SIB file you will need to perform a little bit different actions to retrieve the languages:
1. You will need to create instance of TSIBFileManager (declared siComp.pas unit)
2. Call its LoadAllFromFile() method
3. Usings siComponents[Index] property you can obtain itnerface to TsiCustomLang from this SIB file.
4. Using LangNames property of TsiCustomLang you can obtain the list of available languages.

Quote:
Probrem :
When I start up the Lang Expert in my project and ”load project” from the Sib file, which was created from the original Sil, the main form is not imported.
It is listed in the SIB file but not in the Tsilang Expert dialog box list.
I have a TsilLang component on all forms pointing to a commone dispatcher.


Could you please check that the main form entry in SIB file is "correct"? It must be named like TYourMainFormName. May be you have changed the name of main form but SIL file used older name?
Back to top
View user's profile Send private message
LeighM



Joined: 25 Aug 2006
Posts: 4

PostPosted: Mon Jun 02, 2014 1:52 pm    Post subject: Reply with quote

Sorry for digging out an old threads but I have noted a similar issue and would like to know if it has been fixed in the current version.

I have four languages in my application: English, German, French and Chinese (the user can choose the display lan). My PC's default locale is English and I found that switching language in the application is fine (apart from Chinese display which is expected). However, if I change my PC's locale to Chinese, some of the Chinese translations are shifted to the French translation columns. i.e. if I choose French in the application, some of the words are displayed in Chinese; if I choose Chinese in the application, some of the words are displayed in English. The majority is fine just a few words.

My version of TsiLang is 6.4.1

Thanks for your help
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Tue Jun 03, 2014 2:43 am    Post subject: Reply with quote

Hello,

I believe this was fixed long time ago. But you can always download and install latest version trial and test this or send us sample project which reproduces this problem and we will verify on our side.
Back to top
View user's profile Send private message
LeighM



Joined: 25 Aug 2006
Posts: 4

PostPosted: Tue Jun 03, 2014 10:04 am    Post subject: Reply with quote

Thanks isiticov

Just to confirm that upgrading from version 6.4 to the current version 7.2 fixed the problem.

Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group