You are not logged in.

#1 2014-01-14 21:37:10

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

TeamSpeak + Locale

Greetings!

My apologies for the length of the post. If there is a way to make the code boxes smaller and scrollable, I am game for public shaming and re-education on the proper way to post.

I installed TeamSpeak3 from the repos and when I attempt to run it from the menu, nothing happens. If I drop to command line, I get the following:

$ ./ts3client_linux_amd64

(process:26053): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
2014-01-14 14:27:49.430407|INFO    |              |   | TeamSpeak 3 Client 3.0.13.1 (2013-10-23 12:10:11)
2014-01-14 14:27:49.430553|INFO    |              |   | SystemInformation: Linux 3.12.7-1-ARCH #1 SMP PREEMPT Fri Jan 10 08:50:35 CET 2014 x86_64 Binary: 64bit
2014-01-14 14:27:49.430603|INFO    |              |   | Using hardware aes
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)

Naturally, seeing the first line, I checked my locale settings. This is what is in locale.gen:

$ cat /etc/locale.gen
en_US.UTF-8 UTF-8  
#en_US ISO-8859-1

...and in locale.conf:

$ cat /etc/locale.conf
LANG=en_US.UTF-8
LC_COLLATE="C"

The weird thing is I see this when simply checking locale by typing locale:

$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME="en_GB.utf8"
LC_COLLATE=C
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

Locale-gen throws no errors but it does not seem like it is using the en_US standard I have set. Any assistance is helpful.

Thanks!

Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#2 2014-01-17 23:47:55

FinL
Member
Registered: 2013-10-20
Posts: 3

Re: TeamSpeak + Locale

I had the same exact issue, and I was able to get it fixed. The locales were not setup right. You have to uncomment this in your locale.gen file:

$ cat /etc/locale.gen
en_US.UTF-8 UTF-8
en_US ISO-8859-1

This is what I put in /etc/locale.conf:

$ cat /etc/locale.conf
LANG="en_US.UTF-8" # I don't know if you need the quotes.
LC_COLLATE="C"     # I put it there to be safe. I'm quite new to programming.

Now run locale-gen. Your results should look like this:

$ locale-gen
Generating locales...
en_US.UTF-8 UTF-8
en_US ISO-8859-1
Generation Complete.

Hoped this helped!

- FinL

Last edited by FinL (2014-01-17 23:59:26)


A dream starts with a beginning. My dream is to change the world. http://finl-os.deviantart.com/

Offline

#3 2014-01-18 00:12:34

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: TeamSpeak + Locale

What is your desktop environment? Does it have a language chooser that is set to the wrong locale?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB