Bitcoin Forum
October 17, 2018, 01:02:03 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Some advices about software translations  (Read 949 times)
Offline Offline

Activity: 4
Merit: 0

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

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 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 ? It offers web interface for creating and sending gettext translations. It would be simpler for everyone.
Pages: [1]
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!