Page 1 of 1

Localization off when installed 2.6.0 to OS X 10.14.2 (mojave) from Dropbox package.

Posted: Fri Jan 25, 2019 4:35 am
by tvleavitt
I have to explicitly set LANG=en_GB LANGUAGE=en_GB and run the package from the terminal with open -a freeciv to get the proper buttons to show up, otherwise it shows me French.

My default settings for these values are LANG=en_US.UTF-8, LANGUAGE=""

Why isn't en_US supported (don't see it listed on the Languages page on the Wiki)?

Re: Localization off when installed 2.6.0 to OS X 10.14.2 (mojave) from Dropbox package.

Posted: Sat Jan 26, 2019 9:28 am
by cazfi
tvleavitt wrote:Why isn't en_US supported (don't see it listed on the Languages page on the Wiki)?
It's the internal language of freeciv, i.e., it's not a translation. Usually you get it when you don't define language to use at all, but I don't know what to do if your system gives you French instead.

Re: Localization off when installed 2.6.0 to OS X 10.14.2 (mojave) from Dropbox package.

Posted: Sat Jan 26, 2019 11:58 pm
by louis94
cazfi wrote:
tvleavitt wrote:Why isn't en_US supported (don't see it listed on the Languages page on the Wiki)?
It's the internal language of freeciv, i.e., it's not a translation. Usually you get it when you don't define language to use at all, but I don't know what to do if your system gives you French instead.
This should work:

Code: Select all

LANG=C freeciv-gtk3
The special locale "C" disables translations, and one gets messages as they are written in source code.