Search found 8 matches

by rodney232
Wed Jul 12, 2017 6:29 am
Forum: TsiLang Components Suite
Topic: Language dispatcher=nil in FormCreate
Replies: 3
Views: 9950

Thanks guys for the replies.
It turns out that I had inadvertently left some legacy language support code in an initialization section of one of my units. This code loaded the current language resource file which understandably clashed with the siLang components. All is good now!
by rodney232
Thu Jul 06, 2017 2:20 am
Forum: TsiLang Components Suite
Topic: Language dispatcher=nil in FormCreate
Replies: 3
Views: 9950

Language dispatcher=nil in FormCreate

I have a large Delphi project that supports 6 languages (English is default). When the app is running, I can change to each language by setting the siLangDispatcher.ActiveLanguage appropriately. I have the following code to set the appropriate active language in the main form's FormCreate method; pr...
by rodney232
Fri May 12, 2017 4:53 am
Forum: TsiLang Components Suite
Topic: Translation Editor strings to Dictionary
Replies: 1
Views: 6825

Translation Editor strings to Dictionary

I have some strings in the Translation Editor (TE) and want to send them to the 'connected' dictionary. The strings don't currently have translations (I will do that in the Dictionary Manager). In the TE, if I select Dictionary/Add all and check 'Force empty items' and hit Ok, the strings are not ad...
by rodney232
Wed May 10, 2017 4:18 am
Forum: TsiLang Components Suite
Topic: Chinese missing in Dictionary Manager import
Replies: 2
Views: 8310

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 i...
by rodney232
Tue May 09, 2017 5:45 am
Forum: TsiLang Components Suite
Topic: Chinese missing in Dictionary Manager import
Replies: 2
Views: 8310

Chinese missing in Dictionary Manager import

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 translation...
by rodney232
Mon May 01, 2017 10:52 pm
Forum: TsiLang Components Suite
Topic: Google translate problem in Dictionary Manager
Replies: 2
Views: 8079

That works. Thanks!
by rodney232
Thu Apr 27, 2017 1:01 am
Forum: TsiLang Components Suite
Topic: Google translate problem in Dictionary Manager
Replies: 2
Views: 8079

Google translate problem in Dictionary Manager

I can successfully translate from English to German and Japanese using Google Translate in the Dictionary Manager's Auto Translate form. I also need to translate to Chinese (simplified) which doesn't work. Chinese (traditional) does work. For Chinese (simplified) it returns "Google TranslateJS_...
by rodney232
Tue Mar 28, 2017 5:20 am
Forum: TsiLang Components Suite
Topic: Importing translations from an existing Delphi app
Replies: 1
Views: 6532

Importing translations from an existing Delphi app

I have an existing Delphi app that has translations done within the IDE's integrated translation environment. How do I import those into the TsiLang environment? There are 1000's of translations and I don't want to cut and paste them manually!
(newbe) Delphi 10.1