|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius | Page: 1 2 |
|
||||||||||||
| 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 ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
MagicFX Member
|
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)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
If you scan the cpu-z main program, you just can not adjust the properties of tab controls. Attachment: vc.jpg (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
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 |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
sisulizer can't resolve the tab either Attachment: sisulizer.png (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
The result of reallocation extra 00 Attachment: 00_renew.jpg (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
If I don't reallocate 00, "CPU" is just fit the tab. Attachment: CPU.jpg (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
This is the correct layout after adjusting extra 00 Attachment: tab.jpg (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
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)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
TransText can optionally fill $post_text in the end of every unit sentence or word. Attachment: transtext_write.jpg (Downloaded 15 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
It's the HEX comparison of original and localized version Attachment: binary_compare.png (Downloaded 14 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
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)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
Section selection Attachment: imagebase.png (Downloaded 14 times)
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
Hope sisulizer can implement 00 reallocation function Thanks for your attention!
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
MagicFX Member
|
http://teach.hanzify.org/index.php?Go=Show::646-1180657809 Athena-A is anothor tool spacially designed for ascii locaization.
|
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
The structure of section headers of CPU-z Attachment: exescope.jpg (Downloaded 13 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
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 |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
The texts displayed on the tabs are not written in stabdard resources but in ascii codes.
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
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 |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
MagicFX Member
|
Use UltraEdit. Search CPU with "find in ASCII" checked. Attachment: find_ascii.jpg (Downloaded 10 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
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 |
|||||||||||||
| ||||||||||||||
| Current time is 08:18 am | Page: 1 2 |
| 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 | |
Sisulizer software localization tool - Three simple steps to localize