Bitcoin Forum
December 04, 2016, 02:02:08 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Some advices about software translations  (Read 796 times)
psokol
Newbie
*
Offline Offline

Activity: 4


View Profile
December 21, 2010, 10:54:40 AM
 #1

Hello everyone,

It's my first post here. I'm preparing bitcoin Polish translations right now and I want to share some experience I got while working on other projects.

1. When using gettext, you can mark some strings as plural in source code. Please take a look at http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html. For example in Polish language there are more than one plural form, so using this is really helpful.

2. Usually gettext use _ instead of & as acceleration mark.

3. Please set different strings in different UI elements. There are some rules which tells to translate strings in specific form depending on UI element it use it. For example: different string for button "Send Coins" and different string for window title bar "Send Coins" (for example: Sending Coins).

4. While creating base translation use more uniform expressions - if you use "Sending payment" don't use "Sending coins".

5. Usually translation files are placed in source code in "po" directory. In the same dir there is also empty template translation file with .pot extension.

6. Why don't you create and configure translation project on http://www.transifex.net/ ? It offers web interface for creating and sending gettext translations. It would be simpler for everyone.

If you think I'm helpful, please donate at 1KmCQsmahQ3Bz6yJuJVQNAztceeNNeKSQe Wink
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!