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 

How to manage a translation with Cyrillic characters

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Richard Mueller



Joined: 23 Aug 2012
Posts: 8

PostPosted: Wed Sep 12, 2012 10:20 am    Post subject: How to manage a translation with Cyrillic characters Reply with quote

We have a project with a Russian translation, i.e. with Cyrillic characters. Within the RAD Studio everything is fine. The strings are displayed correctly. But after exporting these strings to a sib file and opening it with the SIL Editor they are only displayed as question marks.
Since we are using RAD Studio 2010 and RAD Studio XE2, the strings are Unicode strings. And by opening the sib file with an editor it can be confirmed that the sib file’s internal representation of the strings is Unicode. Why doesn’t the SIL editor then display the Cyrillic characters correctly?
I have found some topics in the forum dealing with similar problems. All the provided solutions deal with character sets and font settings. I cannot understand this because the Unicode strings should not necessitate the use of code tables or character sets. But anyhow, what is the correct way to deal with Cyrillic characters, i.e. what has to be considered to manage a translation by performing the following steps:
- Export the project from the IDE via “Save Project” to as sib File
- Open the sib File with the SIL editor
- Export the translations via the “Export” function of the SIL editor to an Excel file
- Import the translated Excel file into the SIL editor in order to create a new sib File with the translations
- Import the sib file into the Delphi project via “Load Project”.
We are especially interested in in a solution where the Unicode representation of the strings is not changed, i.e. on the way from the IDE to the Excel file and back the strings should never be transformed to a non Unicode representation.
Thank you very much in advance!
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Wed Sep 12, 2012 1:19 pm    Post subject: Reply with quote

Please send us your sample SIB file and we will try to check what's wrong with it on our side.
Thank you in advance.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Sep 13, 2012 12:41 pm    Post subject: Reply with quote

Hello Richard,

Thank you for sending us the SIB file. Since SIL Editor (currently pulished version) is actually ANSI application, there are still some Unicode->ANSI->Unicode transformations of data. And this is why it still needs Charset data to properly handle some languages. BUT we're finishing the preparing of new version release which will include updated SIL Editor and it will handle such files just fine. Please let us couple of days till we release new version of TsiLang Components Suite.
Thank you again.
Back to top
View user's profile Send private message
Richard Mueller



Joined: 23 Aug 2012
Posts: 8

PostPosted: Thu Sep 13, 2012 12:48 pm    Post subject: Reply with quote

Thank you for your prompt support. I am looking forward to the new version.
Back to top
View user's profile Send private message
biol



Joined: 20 Sep 2012
Posts: 2

PostPosted: Fri Sep 21, 2012 4:08 pm    Post subject: Reply with quote

Hello Igor,
I've the same problem with Cyrillic characters as Richard.
I'm using TSiLang Files Editor Rel. 6.0.0.36.
When will the new release be available ?
Thanks for your collaboration.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sat Sep 22, 2012 5:37 am    Post subject: Reply with quote

6.0.0.36 is a newer version and it shall fix this problem. If the problem still persists on your side- please send us your SIB file.
Back to top
View user's profile Send private message
Richard Mueller



Joined: 23 Aug 2012
Posts: 8

PostPosted: Mon Sep 24, 2012 8:21 am    Post subject: Thank you! Reply with quote

Thank you Igor for your great support. The problem is solved with the nes SIL Editor.
Back to top
View user's profile Send private message
biol



Joined: 20 Sep 2012
Posts: 2

PostPosted: Tue Sep 25, 2012 10:43 pm    Post subject: Reply with quote

Problem solved Smile
I was using a .sil file, exported from the TSiLang component editor. Now I use a .sib file created by the TSiLang Expert "save project" command and everything works correctly.

Thanks again for your collaboration.
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
Page 1 of 1

 
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