Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Localizing Phex (translating)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

Localizing Phex (translating) Translating Phex into your language and getting in touch with other translators


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10 (permalink)  
Old May 3rd, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Quote:
Originally Posted by lucasuam View Post
NOTE: I can't see the accents and letters like "ñ" "Ñ" only strange caracters.... will this be corrected when it is re-compiled?? (if it ever is )
.properties files are supposed to be in ISO-8859-1 (Latin1) encoding. Non-latin characters need to be written in unicode escape character sequences, like \uXXXX.
This is of course difficult to write easily. Thats why there is the tool native2ascii coming with the JDK.

I would suggest you two approaches. Either make your translation into a Lang_en_MX.utf8.properties file saved in UTF8 encoding and then run the native2ascii tool:
native2ascii -encoding UTF8 Lang_en_MX.utf8.properties Lang_en_MX.properties

Or use the Gettext PO format which also gives you the possibility to use a wide range of Gettext editors. With the tool prop2po and po2prop you can convert your files in either way.
http://translate.sourceforge.net/wiki/toolkit/prop2po
__________________
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.