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 Page:    1  2  Next Page Last Page  
New Topic Reply Printer Friendly
DotNet 2.0 and 4.0 and Chinese - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Aug 17th, 2011 03:27 pm
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi all,

we have the problem that we have a mixed environment with DotNet 2.0 and 4.0 and we also have shared components between projects.

Under DotNet 2.0, Sisulizer creates zh-CHS. Under DotNet 4.0, it creates zh-Hans. This behavior is correct, but we have problems with the mixture of both folders.

As far as I understand it, it would be possible to either use zh-Hans under 2.0 or zh-CHS under 4.0. [Chinese (Simplified) Legacy].

I have two questions:

1.) Is it possible in Sisulizer to build either zh-Hans under 2.0 or zh-CHS under 4.0 so that we don't get a mixture? Is there a parameter for it?

2.) In a DotNet 4.0 project, we still get zh-CHS for an XML file. Is this a bug?

Thanks in advance, Christine


Back To Top PM Private Upload Quote Reply

 Posted: Thu Aug 18th, 2011 12:12 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
Christine wrote: 1.) Is it possible in Sisulizer to build either zh-Hans under 2.0 or zh-CHS under 4.0 so that we don't get a mixture? Is there a parameter for it?


No. This is because .NET patform would not use them. 2.0 uses zh-CHS and 4.0 uses zh-Hans.

When .NET tries to load a satellite assembly fiels it checks four things:

1) File name. The assembly must be in the right sub directory (e.g. zh-Hans)

2) The .NET version of the assembly is the same as main assemblly

3) If main assembly is signed the satellite assembly must als be signed with same key.

4) Resources names. The assembly must use locale depend resource names. For example if original was Sample.Form1.resources the Chinese would be Sample.Form1.zh-Hans.resources

Sisulizer checks that all these are right for satellite assemblies it creates. If we would place assemblies into different directory that would break #1 and satellite assembly would never loaded.
In a DotNet 4.0 project, we still get zh-CHS for an XML file. Is this a bug?
Is this a standalone XML file that you have added into the same project where .NET 4.0 project is or is it an emabedde XML file that belongs to a .NET project?

If standalone the output shoudl be zh or zh-CS depending if you have added Chinese Simp or Chinese Simp (China) into the project.

If embedded Sisulizer does not add any name part into it unless you check Add language part into localized resource names check box (you propably checked this). This uses either zh-CHS or zh-Hans depending on the .NET

There was a bug in build before 319 and assembly fiel as source (instead of .csproj or .sln). In that cases Sisulizer created wrong file and resource names.

Jaakko

Back To Top PM Private Upload Quote Reply

 Posted: Thu Aug 18th, 2011 06:20 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
I studied this more and it turned out that .NET 4.0 can use the legacy Chinese code: zh-CHS and zh-CHT. This means that we can implement the feature you requested. I start working. It will be in the next build.

Jaakko

Back To Top PM Private Upload Quote Reply

 Posted: Thu Aug 18th, 2011 08:08 am
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi Jaakko,

thank you very much, this is good news.

Best regards, Christine

Back To Top PM Private Upload Quote Reply

 Posted: Wed Oct 5th, 2011 09:34 am
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi Jaakko,

I just tried out build 322. I cannot find the new feature, can you point me to it?

Another question: Instead of "zh-Hans", Sisulizer is now building localized folders with "zh-Hant". Is this correct?

Best regards, Christine

Back To Top PM Private Upload Quote Reply

 Posted: Mon Oct 10th, 2011 07:09 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
Is the language Simplified or Traditional Chinese. zh-Hans is the output of Simplified and zh-Hant is the output of Traditional.

Jaakko

Back To Top PM Private Upload Quote Reply

 Posted: Mon Oct 24th, 2011 10:03 am
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi Jaakko,

sorry, my mistake. Can you please also comment on my main question: Where do I find the "Legacy" option in build 322?

Thanks in advance, Christine

Back To Top PM Private Upload Quote Reply

 Posted: Mon Oct 24th, 2011 10:21 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
Choose Project | Edit Source | source name

Select Languages sheet and turn on Legacy coding. See the screenshot.

Jaakko

Attachment: Untitled.png (Downloaded 31 times)

Back To Top PM Private Upload Quote Reply

 Posted: Mon Oct 24th, 2011 05:16 pm
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
I don't have a Languages sheet in this dialog box, please check the screenshot. :?

Attachment: sc_Sisu_ResourceProperties.png (Downloaded 32 times)

Back To Top PM Private Upload Quote Reply

 Posted: Mon Oct 24th, 2011 11:52 pm
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
Sorry, my mistake. The feature will be in the next version (3.0) and not next build as I told earlier.

Jaakko

Back To Top PM Private Upload Quote Reply

 Posted: Tue Oct 25th, 2011 08:31 am
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
That's really bad news as we are already waiting for the feature. Chinesisch (Simplified und Traditional) are currently not working in some of our products.

Could you tell me when 3.0 might be available?

Christine

Back To Top PM Private Upload Quote Reply

 Posted: Tue Oct 25th, 2011 08:42 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 657
Status: 
Offline
In a month.

Jaakko

Back To Top PM Private Upload Quote Reply

 Posted: Fri Jan 27th, 2012 05:02 pm
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi Jaakko,

we now upgraded to 3.0 (build 328), but I still don't have a Languages sheet in this dialog box. Actually the window looks the same as in Sisulizer 2010.

Can you please comment?

Thanks, Christine

Back To Top PM Private Upload Quote Reply

 Posted: Fri Jan 27th, 2012 09:53 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 816
Status: 
Offline
Christine wrote: we now upgraded to 3.0 (build 328), but I still don't have a Languages sheet in this dialog box. Actually the window looks the same as in Sisulizer 2010.

Can you please comment?

The sheet is visible only if you have at least one language in the project that uses legacy language codes. For example if you add Chinese into a Sisulizer project that contains .NET 4.0 projects then the sheet is visible.

Best regards,
Ilkka



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

 Posted: Mon Jan 30th, 2012 09:51 am
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Thank you for the information. I needed to switch off the sublanguage from Chinese to show the Language tabbed page, which seems not so logical to me, but anyhow.

Best regards, Christine

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 31st, 2012 12:24 pm
PM Private Upload Quote Reply
Christine
Member
 

Joined: Tue Nov 20th, 2007
Location:  
Posts: 184
Status: 
Offline
Hi again,

I tried it, but the combo box item "Legacy (zh-CHS, zh-CHT)" does not seem to work properly.

I am using "\.resources.dll" as Output files parameter, and Sisulizer is still creating the folder "zh-Hans" instead of "zh-CHS" during build.

Do you need the SLP for further analysis?

Christine

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jan 31st, 2012 01:01 pm
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2554
Status: 
Offline
I checked it and seems to me that you are right. I'll ask our R&D about this.

Best,
Janusz



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

 Posted: Thu Feb 2nd, 2012 06:30 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 816
Status: 
Offline
I tested this and it worked on just like it should be. I used Visual Studio 2010 and .NET 4.0.

Janusz, can you send me your sample application and SLP

Ilkka

Attachment: Untitled.png (Downloaded 7 times)



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

 Posted: Thu Feb 2nd, 2012 06:53 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 816
Status: 
Offline
No need to send. The bug occurs when there is a VS solution instead of project file in SLP. I will fix this.

Ilkka



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

 Posted: Thu Feb 2nd, 2012 07:54 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 816
Status: 
Offline
I fixed this. The custom language code settings worked only Visual Studio project sources but not Visual Studio solution sources and .NET assembly souces. The fix will be in the next build (329). It will be released in two weeks.

Ilkka



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

Current time is 10:16 pm Page:    1  2  Next Page Last Page    
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > DotNet 2.0 and 4.0 and Chinese



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