Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ehmdjii on December 03, 2011, 03:59:34 PM



Title: change language to english in official bitcoin client
Post by: ehmdjii on December 03, 2011, 03:59:34 PM
how can i change the language to english in the official bitcoin client?

also how does the client attempt to detect my language? my windows7 is english.

thanks!


Title: Re: change language to english in official bitcoin client
Post by: Schleicher on December 03, 2011, 05:02:02 PM
Create a file named english.bat (for example) with this text in it:
set LANG=en_US.UTF-8
bitcoin-qt.exe

Then you can use this file to start the client.
Not very user friendly, but it works.


Title: Re: change language to english in official bitcoin client
Post by: HostFat on December 03, 2011, 05:36:30 PM
So it can be a good feature request :)
- Add an option to change language from the settings.


Title: Re: change language to english in official bitcoin client
Post by: w0mbat on January 16, 2012, 12:14:45 PM
yes, I'd love to be able to change the client language!


Title: Re: change language to english in official bitcoin client
Post by: predic on January 17, 2012, 06:13:52 PM
yes, I'd love to be able to change the client language!
I would like it too, it is reason why i am still using 0.4 version.


Title: Re: change language to english in official bitcoin client
Post by: Luke-Jr on January 20, 2012, 07:00:41 PM
The question you should be asking, is why your OS is configured for a non-English language...


Title: Re: change language to english in official bitcoin client
Post by: Matthew N. Wright on January 20, 2012, 07:04:58 PM
The question you should be asking, is why your OS is configured for a non-English language...

True. I live in Korea, use Korean windows, and have never had Bitcoin speak Korean to me.


Title: Re: change language to english in official bitcoin client
Post by: Schleicher on January 20, 2012, 08:42:02 PM
The question you should be asking, is why your OS is configured for a non-English language...
Because he is sharing the computer with other members of his family and they don't speak english?


Title: Re: change language to english in official bitcoin client
Post by: Matthew N. Wright on January 20, 2012, 11:31:13 PM
The question you should be asking, is why your OS is configured for a non-English language...
Because he is sharing the computer with other members of his family and they don't speak english?
I am not sure if Luke meant this or not but, I was responding to the fact that Bitcoin should be in English regardless. Even on my Korean windows it shows English. So wtf@that


Title: Re: change language to english in official bitcoin client
Post by: Gavin Andresen on January 21, 2012, 01:28:15 AM
Even on my Korean windows it shows English. So wtf@that

Nobody has written a Korean translation.  If/when somebody does (join https://www.transifex.net/projects/p/bitcoin/ if you want to help) you'd get the Korean translation.

An option to change the language in the GUI is a great idea.  Somebody should do that....


Title: Re: change language to english in official bitcoin client
Post by: farfiman on April 16, 2012, 03:48:38 PM
On the 0.6 windows version - the client installed in hebrew although the Windows is english.
Is there a way to change it to english or force it to install in english without making batch files, removing languages
from the OS etc ?


Title: Re: change language to english in official bitcoin client
Post by: finway on April 17, 2012, 03:54:54 AM
Even on my Korean windows it shows English. So wtf@that

Nobody has written a Korean translation.  If/when somebody does (join https://www.transifex.net/projects/p/bitcoin/ if you want to help) you'd get the Korean translation.

An option to change the language in the GUI is a great idea.  Somebody should do that....


I agree, somebody should. 


Title: Re: change language to english in official bitcoin client
Post by: Raoul Duke on April 17, 2012, 05:20:38 AM
On the 0.6 windows version - the client installed in hebrew although the Windows is english.
Is there a way to change it to english or force it to install in english without making batch files, removing languages
from the OS etc ?



Open the bitcoin.conf file and add
Code:
lang=en

That should do it. No need for a new install, only a client restart. All languages get installed, so you have them all there to change as you wish.


Title: Re: change language to english in official bitcoin client
Post by: Meni Rosenfeld on April 17, 2012, 05:32:38 AM
I've started this related thread (https://bitcointalk.org/index.php?topic=76897.0) for discussion of ways to solve this problem going forward.

As for the current situation: The default language is determined by the dates format. Many people have their OS with an English interface but use the local format for dates and stuff. (eg in Israel we use d/m/y rather than m/d/y). So this means that many people will encounter an unwanted translation; and that resolving it doesn't require "removing languages", just setting the defined format language to US (and the formats themselves can be customized for this language to match the local style).

Alternatively, you can use psy's suggestion of editing bitcoin.conf (haven't tested this), or simply add -lang=en_US to the target of whatever shortcut you are using to launch Bitcoin.


Title: Re: change language to english in official bitcoin client
Post by: Raoul Duke on April 17, 2012, 05:41:44 AM
The english language in Bitcoin uses the code en only. If you try to tell Bitcoin to load en_US it will probably not work as it won't recognize the language you're asking it to load.

Just a side note to your remark of you not having tested my suggestion: Every flag that you can set on the command line to start the client will work inside the bitcoin.conf file. Just don't forget that the flags inside the conf file don't use the hiphen :P


Title: Re: change language to english in official bitcoin client
Post by: Meni Rosenfeld on April 17, 2012, 05:44:43 AM
The english language in Bitcoin uses the code en only. If you try to tell Bitcoin to load en_US it will not work as it won't recognize the language you're asking it to load.
It definitely does work and it's what I'm using.


Title: Re: change language to english in official bitcoin client
Post by: Raoul Duke on April 17, 2012, 05:47:43 AM
The english language in Bitcoin uses the code en only. If you try to tell Bitcoin to load en_US it will not work as it won't recognize the language you're asking it to load.
It definitely does work and it's what I'm using.

Well, pt doesn't work because the language is named pt_BR, hence my mistake. Anyway, the _US should be redundant in your case :)

Taken from the bitcoin_en.ts file
Code:
<TS version="2.0" language="en">


Title: Re: change language to english in official bitcoin client
Post by: DeepBit on April 17, 2012, 12:41:57 PM
Language selection would be very nice.