Bitcoin Forum
September 26, 2016, 10:29:10 AM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin client and website translation  (Read 7341 times)
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
February 08, 2010, 01:27:02 AM
 #1

Thank you for the offer to help translate.  That is probably the best way you could help.

I will need to prepare the code for translation first.  wxWidgets has locale support, and most strings are in generated code that is already wrapped, so it shouldn't be too hard.  We also must finish upgrading to wxWidgets-2.9.0 to get UTF-8 support.  I've done test builds with 2.9.0 and there is one bug left to fix.

What operating system are you using?  Windows, Linux 32-bit or 64 bit?

Split from another thread.
sirius-m
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
1474885750
Hero Member
*
Offline Offline

Posts: 1474885750

View Profile Personal Message (Offline)

Ignore
1474885750
Reply with quote  #2

1474885750
Report to moderator
BlueSky
Newbie
*
Offline Offline

Activity: 8


View Profile
February 08, 2010, 08:47:08 AM
 #2

I am running Windows 32 (But have AMD64 dual core machine), but could, if required have a version of Linux using virtualisation(I must install this).

The most simple way at present is to have different language binaries(e.g. bitcoin_en.exe, bitcoin_zh.exe etc.). Please post when you want this translated, this would mean there could be a dual language release for the next version (Why not a tri-language release, you do speak Japanese no?).
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
February 08, 2010, 04:10:37 PM
 #3

It's much easier to have a single binary and multiple .mo files.  It's too much maintenance work to have lots of build variations.  Once the software support is implemented, anyone could contribute translations.

wxWidgets uses the gettext standard.  You use the gettext tools or something like poedit to create a .po file by scanning the sourcefiles for strings and editing the translations into the .po file, then compile it into a .mo file.  The program loads the .mo file at runtime and reskins all the strings.  Additional languages can be added to an existing program by adding .mo files without recompiling the program.

On Windows, the .mo files would go in a lang subdirectory in the directory where the EXE is located.

Right now I'm working on JSON-RPC and command line support, but when I'm finished with that I hope to do this next.
giik
Newbie
*
Offline Offline

Activity: 24


View Profile
February 08, 2010, 07:28:28 PM
 #4

Thank you for the offer to help translate.  That is probably the best way you could help.

I'm willing to help you translate to Dutch. Just let us know, when it's possible!
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 873


View Profile
February 08, 2010, 09:36:01 PM
 #5

I can translate it into German, if you wish.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/btc
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
sirius
Bitcoiner
Staff
Sr. Member
****
Offline Offline

Activity: 429



View Profile
February 09, 2010, 04:08:39 PM
 #6

You can send me translations of the bitcoin.org site as private messages (or if it's too long, I'll pm you my e-mail address). If you can translate only the front page, it's ok too.

Identifi - Decentralized address book with trust ratings
I'm not a forum admin - please contact theymos instead.
riX
Sr. Member
****
Offline Offline

Activity: 327



View Profile
February 09, 2010, 08:47:58 PM
 #7

[...]JSON-RPC and command line support[...]

Sweet! I've been looking for something to make some kind of semi-cloud setup, and JSON-RPC looks promising. Keep up the good work!

SmokeTooMuch
Legendary
*
Offline Offline

Activity: 873


View Profile
February 09, 2010, 09:33:33 PM
 #8

You can send me translations of the bitcoin.org site as private messages (or if it's too long, I'll pm you my e-mail address). If you can translate only the front page, it's ok too.
Do you want it as plain-text or a .html or .php file ?

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/btc
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
sirius
Bitcoiner
Staff
Sr. Member
****
Offline Offline

Activity: 429



View Profile
February 10, 2010, 03:11:47 PM
 #9

You can send me translations of the bitcoin.org site as private messages (or if it's too long, I'll pm you my e-mail address). If you can translate only the front page, it's ok too.
Do you want it as plain-text or a .html or .php file ?

Plain text is good, but add the heading and list html tags if possible.

Identifi - Decentralized address book with trust ratings
I'm not a forum admin - please contact theymos instead.
NewLibertyStandard
Sr. Member
****
Offline Offline

Activity: 252



View Profile WWW
February 10, 2010, 06:15:05 PM
 #10

It looks like the Bitcoin Wikipedia article is only available in English. How about some of you either translate or write a new article in your language.

Treazant: A Fullever Rewarding Bitcoin - Backup Your Wallet TODAY to Double Your Money! - Dual Currency Donation Address: 1Dnvwj3hAGSwFPMnkJZvi3KnaqksRPa74p
giik
Newbie
*
Offline Offline

Activity: 24


View Profile
February 16, 2010, 10:23:05 AM
 #11

My Dutch translation is almost finished. I will send it to sirius-m this week.
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
February 17, 2010, 07:19:43 PM
 #12

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\<langcode>\LC_MESSAGES\bitcoin.mo

<langcode> 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/<langcode>/LC_MESSAGES/bitcoin.mo
/usr/local/share/locale/<langcode>/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:

- Download the bitcoin sourcecode from SVN
- In the trunk directory, mkdir locale\<lang>\LC_MESSAGES
- In poedit, File->New catalog->Paths tab
- Click the "New item" dotted rectangle button
- Put "../../.." and MAKE SURE TO PRESS ENTER to add the path
- Click OK
- Save the file as "bitcoin.po" in the LC_MESSAGES directory you made
- It should then scan the sourcecode and find about 170 strings
- If it didn't find anything, check Catalog->Settings->Path tab, make sure the "../../.." was added

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

Activity: 868


View Profile
May 12, 2011, 03:59:45 AM
 #13

I have started translating the client messages to norwegian. As I also have other things to do, I will do it a little by little. I will tell when it is done.
drrussellshane
Hero Member
*****
Offline Offline

Activity: 548


View Profile WWW
January 15, 2014, 07:42:36 PM
 #14

I realize that this thread is a tad old, but the OP is a pretty cool cat so perhaps the membership will let it slide.

How might I go about contributing to the translation of the Bitcoin-QT client?


Bitmono meritas esperantan tradukon!

Buy a TREZOR! Premier BTC hardware wallet. If you're reading this, you should probably buy one if you don't already have one. You'll thank me later.
riX
Sr. Member
****
Offline Offline

Activity: 327



View Profile
January 28, 2014, 10:05:05 PM
 #15

I realize that this thread is a tad old, but the OP is a pretty cool cat so perhaps the membership will let it slide.

How might I go about contributing to the translation of the Bitcoin-QT client?


Bitmono meritas esperantan tradukon!


https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md

Or if that seems hard just make the translations in a spreadsheet or text file or your format of choice, and someone will probably help you. Smiley

drrussellshane
Hero Member
*****
Offline Offline

Activity: 548


View Profile WWW
January 28, 2014, 10:48:12 PM
 #16

I realize that this thread is a tad old, but the OP is a pretty cool cat so perhaps the membership will let it slide.

How might I go about contributing to the translation of the Bitcoin-QT client?


Bitmono meritas esperantan tradukon!


https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md

Or if that seems hard just make the translations in a spreadsheet or text file or your format of choice, and someone will probably help you. Smiley

Thanks!

However, I have managed to become part of the team here: https://www.transifex.com/projects/p/bitcoinorg/ (as a matter of fact, for bitcoin.org, I *am* the Esperanto translation team, do, helpu min esperantistoj!)

I am also the only one on https://www.transifex.com/organizations/dashboard/bitcoin-wallet
so help is needed there as well to review my translations for the Android bitcoin client.

I'm also helping those who were already working on the Esperanto translation of the Satoshi client, but I am sure, ke samideanoj estus bonvenaj.
https://www.transifex.com/organizations/dashboard/bitcoin

Buy a TREZOR! Premier BTC hardware wallet. If you're reading this, you should probably buy one if you don't already have one. You'll thank me later.
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!