Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Delphi Resource DLLs and Chinese languages - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Mon Jan 12th, 2009 05:25 pm
PM Private Upload Quote Reply
bikemike
Member
 

Joined: Tue Nov 20th, 2007
Location: New Zealand
Posts: 201
Status: 
Offline
Currently I have Chinese Simplified (cp 2052) and Chinese Traditional (cp 1028) selected for the languages to build in my Delphi Sisu project.  This gives me CH and CHT extensions to my application respectively.  My UI gives choice of ALL or COMPATIBLE languages to change to at run time.

When I am on a Taiwan set up system, I am offered these compatible languages:
中文(繁體)                Chinese (Traditional)
中文(繁體) (台灣)   Chinese (Traditional) (Taiwan)
For all languages I am offered
Chinese
Chinese (Taiwan)
On a Simplified set up system I am offered NO compatible languages
For all languages, I am offered these:
Chinese
Chinese (Taiwan)
If I add Chinese Simplified (People's Republic of China) to the list of languages built by Sisulizer I get a CHS extension.  This does get listed when I try to change language at run time.
Now I get this 'compatible' language:
中文(简体) (中华人民共和国)    Chinese (Simplified) (People's Republic of China)
And if I select all languages I see it listed as
Chinese (People's Republic of China)
When the extension is Processed it does a second pass with the last letter chopped off. 
Thus CHT is first processed as CHT - This adds Chinese Traditional Taiwan to the list.
Then it is processed as CH - this adds Chinese Traditional to the list.  Hence why my EXE.CH Chinese Simplified Resource is not offered as compatible when I run on a Chinese (PRC) system setup - CH is considered to be the base Traditional.
When I add CHS this is accepted as compatible, but is specific to PRC. 

Is there is no way to get neutral Chinese Simplified to work?

Attachment: allChineseExtensions.jpg (Downloaded 45 times)

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 20th, 2009 10:21 pm
PM Private Upload Quote Reply
bikemike
Member
 

Joined: Tue Nov 20th, 2007
Location: New Zealand
Posts: 201
Status: 
Offline
Anything to offer on this one? ...

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 21st, 2009 05:20 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 956
Status: 
Offline
I am woring on it, but I like to solve the TAction with menus problem first.



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 07:07 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
What do you mean "I am offered these compatible languages". Do you mean that the language dialog of Sisulizer shows those languages in the list?
For all languages I am offered
What does all languages mean?

Jaakko

 



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 07:28 pm
PM Private Upload Quote Reply
bikemike
Member
 

Joined: Tue Nov 20th, 2007
Location: New Zealand
Posts: 201
Status: 
Offline
Sorry, I have two menus to change language.

1  One feeds in doUseCurrentLanguage
2  One feeds in doCompatible

By 'For all languages' I mean  option 1, list in English, ignore code page incompatabilities

For 'compatible languages' I mean option 2, list in Native and only show code-page compatible languages.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 08:41 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
I tested following:
- Original language is English
- System locale is Chinese (Taiwan)
- I have both .CH and .CHT resource DLL

If I use doCompatible application shows:
- English
- Chinese (Traditional) (Taiwan)

This just as it should be.

If I do not use doCompatible  application shows also
- Chinese (Simplified)

That is also as it should be. I tested on Vista.

What is your OS?



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 08:44 pm
PM Private Upload Quote Reply
bikemike
Member
 

Joined: Tue Nov 20th, 2007
Location: New Zealand
Posts: 201
Status: 
Offline
XP SP3

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 08:54 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
English XP?



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 28th, 2009 09:34 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
I found the reason. XP and Vista has different "default" Chinese. In XP it is Chinese (Traditional) but in Vista it is Chinese (Simplified). This is why in XP .CH is also included as Trad Chinese and included to the list.

Here is the fix:

function LocaleToCodePage(locale: Integer): Integer;
begin
  if locale = LANG_CHINESE then
    Result := 936
  else
    Result := StrToInt(GetLocaleStr(locale, LOCALE_IDEFAULTANSICODEPAGE, '0'));
end;


Modify your LaResource.pas in the above way.

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Sun Feb 1st, 2009 07:24 pm
PM Private Upload Quote Reply
bikemike
Member
 

Joined: Tue Nov 20th, 2007
Location: New Zealand
Posts: 201
Status: 
Offline
OK - seems to work, gone into test now.  Thanks.

Back To Top PM Private Upload Quote Reply

Current time is 05:55 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Delphi Resource DLLs and Chinese languages



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize