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 

Chinese missing in Dictionary Manager import

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



Joined: 27 Mar 2017
Posts: 8

PostPosted: Tue May 09, 2017 5:45 am    Post subject: Chinese missing in Dictionary Manager import Reply with quote

I am trying to import a Delphi *.TMX file containing English, Arabic, Spanish and Simplified Chinese (zh-CN) into the Dictionary Manager. A dialog appears asking to 'Please specify the language names to import'. The languages in the list do not include zh-CN Chinese.
The Chinese language translations are in the TMX file but the Dictionary Manager is not recognizing them.
How can I overcome this problem?
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Wed May 10, 2017 3:40 am    Post subject: Reply with quote

Please send us sample TMX file to reproduce this problem. We will check this. Thank you.
Back to top
View user's profile Send private message
rodney232



Joined: 27 Mar 2017
Posts: 8

PostPosted: Wed May 10, 2017 4:18 am    Post subject: Reply with quote

I have figured out what is wrong (see example TMX file below).
The Dictionary Manager is determining what languages are in the file by looking at the FIRST <tu> entry. If there is no 'es-ES' in a <tuv> tag under the first <tu> tag then the Dictionary Manager will only display possible languages to import as Arabic, Chinese and Japanese even though there are Spanish translation/s further on. The Dictionary Manager should scan the whole file for languages, not just the first <tu> tag.


Code:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE tmx SYSTEM "http://www.gala-global.org/oscarStandards/tmx/tmx14.dtd">
<tmx version="1.4">
   <header creationtool="Borland Integrated Translation Environment" creationtoolversion="9.0" segtype="sentence" datatype="plaintext" creationdate="20170503T04:49:30Z" adminlang="en-AU" srclang="en-AU" changedate="20170510T00:57:03Z"/>
   <body>
      <tu>
         <tuv xml:lang="en-AU">
            <seg>Select directory</seg>
         </tuv>
         <tuv xml:lang="ar-SA">
            <seg>اختيار دليل</seg>
         </tuv>
         <tuv xml:lang="zh-CN">
            <seg>选择路径</seg>
         </tuv>
         <tuv xml:lang="ja-JP">
            <seg>ディレクトリを選択</seg>
         </tuv>
      </tu>
      <tu>
         <tuv xml:lang="en-AU">
            <seg>Cancel</seg>
         </tuv>
         <tuv xml:lang="ar-SA">
            <seg>إلغاء</seg>
         </tuv>
         <tuv xml:lang="zh-CN">
            <seg>取消</seg>
         </tuv>
         <tuv xml:lang="es-ES">
            <seg>Cancelar</seg>
         </tuv>
         <tuv xml:lang="ja-JP">
            <seg>キャンセル</seg>
         </tuv>
      </tu>
   </body>
</tmx>
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