Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... 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
Ascii code & RVA - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ...
AuthorPost
 Posted: Wed Sep 19th, 2007 08:20 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
http://www.cpuid.com/cpuz.php

CPU-Z is a special case. The tab component is not a regular one, which width depends on the ascii text length. This is not friendly for a localizer.

For example, CPU in Chinese is 中央處理器. As you know, every chinese charachter is 2 bytes, thus 中央處理器 has 10 bytes, longer than 3 bytes. If I try to translate CPU into 中央處理器, I must caculate the RVA and reallocate the extra "00" or "20" to expand the "CPU" string length to 10 bytes.

Here is what i get using Microsoft Spy++ to detect the component.

 

Attachment: windows_search.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:22 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
If you scan the cpu-z main program, you just can not adjust the properties of tab controls.

Attachment: vc.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:22 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
Opening cpu-z by UltraEdit.

I found some extra 00s.

It can be reallocated manually.

Attachment: 00.jpg (Downloaded 15 times)

Last edited on Wed Sep 19th, 2007 08:25 pm by MagicFX

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:27 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
sisulizer can't resolve the tab either

Attachment: sisulizer.png (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:28 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
The result of reallocation extra 00

Attachment: 00_renew.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:30 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
If I don't reallocate 00, "CPU" is just fit the tab.

Attachment: CPU.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:31 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
This is the correct layout after adjusting extra 00

Attachment: tab.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:36 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
TransText

http://www.hanzify.org/?Go=Show::List&ID=11598

I rely on TransText to read and write back the Ascii.

 

Attachment: transtext_extract.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:38 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
TransText can optionally fill $post_text in the end of every unit sentence or word.

Attachment: transtext_write.jpg (Downloaded 15 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:39 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
It's the HEX comparison of original and localized version

Attachment: binary_compare.png (Downloaded 14 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:42 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
OverNimble RVA conveter

http://reg.softking.com.tw/freeware/index.asp?fid1=24&fid2=292&fid3=17781

I use OverNimble RVA conveter to calculate VA / RVA and HEX

Attachment: rva_converter.png (Downloaded 14 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:43 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
Section selection

Attachment: imagebase.png (Downloaded 14 times)

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:44 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
Hope sisulizer can implement 00 reallocation function

Thanks for your attention!

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:57 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
http://teach.hanzify.org/index.php?Go=Show::646-1180657809

Athena-A is anothor tool spacially designed for ascii locaization.

Back To Top PM Quote Reply

 Posted: Wed Sep 19th, 2007 08:58 pm
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
The structure of section headers of CPU-z

Attachment: exescope.jpg (Downloaded 13 times)

Back To Top PM Quote Reply

 Posted: Thu Sep 20th, 2007 02:03 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Online
That application seems to use standard WIN32 tab control. The length of the tab sheet should get adjusted according to the length of the text. In your case it does not happen, right?

Jaakko



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

 Posted: Thu Sep 20th, 2007 07:53 am
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
The texts displayed on the tabs are not written in stabdard resources but in ascii codes.

Back To Top PM Quote Reply

 Posted: Thu Sep 20th, 2007 08:13 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
Where can I find those tab texts (CUP, Cache, Mainboard...). I couldn't find them in resource string. In what resources them are located?



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

 Posted: Thu Sep 20th, 2007 09:21 am
PM Quote Reply
MagicFX
Member
 

Joined: Sat Dec 23rd, 2006
Location: Taipei, Taiwan
Posts: 150
Status: 
Offline
Use UltraEdit.

Search CPU with "find in ASCII" checked.

 

Attachment: find_ascii.jpg (Downloaded 10 times)

Back To Top PM Quote Reply

 Posted: Thu Sep 20th, 2007 09:56 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
Those tab texts (CPU, Cache...) are in a data segment. On the other words those texts are hard coded.

Sisulizer can scan and translate only texts that can be found in a resource segment. That application can not be translated by Sisulizer. You should move all hard coded strings into resource string.

regards
Ilkka



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

Current time is 08:18 am Page:    1  2  Next Page Last Page    
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > Ascii code & RVA



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize