Re: Bitcoin client and website translation

Re: Bitcoin client and website translation

Date: February 17, 2010

Source: BitcoinTalk Forum

URL: https://satoshi.nakamotoinstitute.org/posts/bitcointalk/62/


I updated the SVN with changes to support translation.  Translatable strings are all enclosed in _(""), and we're using UTF-8 on all platforms.

When the program runs, it looks in the directory of the EXE for the file: locale\\LC_MESSAGES\bitcoin.mo

is the two letter code of the language your OS is set to, like "de" or "nl".

On Linux, it also looks for:

/usr/share/locale//LC_MESSAGES/bitcoin.mo

/usr/local/share/locale//LC_MESSAGES/bitcoin.mo

(are there other standard places it should look on linux?)

Here's a quick walkthrough using poedit to make a .po and .mo file:

When you're done translating, commit both bitcoin.po (the editable catalog file) and bitcoin.mo (compiled data used by the program).


← Back to Satoshi Record