A locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface.

learn more… | top users | synonyms

2
votes
1answer
479 views

How to get rid of special characters in the output of make on centos

I installed centos6.3. When I run gcc, it outputs errors but the function names are surrounded by special characters like this ‘setup_connection’: This same is repeated with variable names. I ...
5
votes
3answers
176 views

Understanding environmental variables in different contexts

Trying to understand the behaviour of the environment in Linux (Ubuntu 13.04 concretely), I've find different situations where setting envirionment variables are used or defined for/in different ...
1
vote
1answer
39 views

How to change locale to English?

I have message from bash and it's localized, I want English message, my locale is: $ locale LANG=pl_PL.UTF-8 LANGUAGE=pl:en LC_CTYPE="pl_PL.UTF-8" LC_NUMERIC=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 ...
6
votes
2answers
106 views

Sorting with Perl respecting Locale Settings

Following data needs to be sorted respecting the locale sort order: wird sin wär pêche war Über Uber péché peach There was nor problem by using sort $ sort < data peach pêche péché sin Uber ...
1
vote
2answers
65 views

gawk: Summing floats formatted with comma separator

I'm trying to sum floats which use the comma as separator, and gawk does integer calculations. Here's the script: BEGIN { FS=";" OFS=";" CONVFMT = "%2.2f" } { print $1 print $2 print ...
5
votes
1answer
452 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
37
votes
2answers
1k views

Why is there no “Euro English” locale?

I used to use the somewhat whimsical en_DK.UTF-8 locale when installing a new system because that would produce (roughly) the locale results I wanted, even though I am not in Denmark. Measurements ...
2
votes
1answer
72 views

Changing Locale

I am using Linux Mint 15 Currently I have my locale as (by using command locale): LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC=ar_SA.UTF-8 LC_TIME=ar_SA.UTF-8 ...
0
votes
0answers
41 views

Set Up New Locale On CentOS 6

I am trying to set up a new locale for my centos server environment. Here is currently shows for locale -a command: en_AG en_AG.utf8 en_AU en_AU.iso88591 en_AU.utf8 en_BW en_BW.iso88591 en_BW.utf8 ...
1
vote
0answers
38 views

Character encoding issue with my linux install?

I just installed Ubuntu 12.04.4 64 bits, all seemed to be ok, when I started to work on console I noticed: that I couldn't get some accented characters typed in to the console, for example, if I ...
1
vote
1answer
66 views

Linux ls wrong date format

I try to find why when I do the command ls or whatever ls -la the column format is wrong with date. It should be like that: -rw-r--r-- 1 johndoe johndoe 55 janv. 26 2011 not like that : ...
1
vote
1answer
35 views

Console outputing wrong single quote character (â)

My console yakuake is outputting the wrong single quote character. test.cpp: In function âint main()â: I've tried, one by one: export LC_CTYPE="C" export LC_CTYPE="posix" export ...
1
vote
1answer
25 views

Make yakuake outputting correct characters

I have some files that using japanese, korean and chinese characters in their filename, this is the example filename 栗山千明 - おいしい季節決定的三分間.rar but when i tried to ls -w1 *.rar in the yakuake console, ...
0
votes
1answer
352 views

Problems with the locale; can't make Arch Linux use UFT-8 [closed]

Note: The real problems behind this are presented here, as per a recommendation on meta. This question should be closed as a non-reproducible off-topic because its main problem is solved by correcting ...
1
vote
1answer
223 views

locale not found/setting locale failed - what should I do?

I've installed Debian 7 i386 on my VPS (OpenVZ). Everything works fine, except locales - any attempt to install anything shows: [...] perl: warning: Setting locale failed. perl: warning: Please check ...
2
votes
1answer
64 views

Problem with log in after change locale, maybe relate to PAM

System information: Debian Wheezy CPU: intel core i7 3770 I initially only had en_US.UTF-8 as the default language. This morning, I changed the /etc/local.gen file and un-comment the zh_CN.UTF-8 and ...
3
votes
3answers
1k views

localization of man pages on Linux (Ubuntu)

Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example $ man -English man Man is a ...
4
votes
1answer
48 views

login with xdm and umlaut in password

I want use xdm to login to my machine and start my session. My password contains an umlaut. I'd rather not change the password as it is quite long and complex and I just memorized it. Login works ...
1
vote
2answers
172 views

Reload /etc/default/locale without reboot?

After making changes to /etc/default/locale, is it possible to reload/active the new settings without a reboot?
0
votes
3answers
87 views

I have an environment variable for LANG set in ~/.profile but it is not getting set

I want to set the locale. I have this in my ~/.profile #language export LANG=en_GB.utf8 export TESTING123=en_GB.utf8 But when I type: echo $LANG $TESTING123 I get (LANG not set, but TESTING123 ...
4
votes
1answer
73 views

How can I find the sort order for ls with my locale?

I was using ls -l on a directory, and was surprised that spaces and underscores were ignored for the sort order. For example, $ echo $LANG en_AU.UTF-8 $ ls -l total 0 -rw-r--r-- 1 sparhawk sparhawk 0 ...
7
votes
2answers
54 views

texinfo: Can I write non-english info files? Such as Chinese, and how?

Most gnu manual files use info, write a texinfo then makeinfo produces info files, it's great. Can texinfo contain non-English characters then produce non-English infos or pdfs? How can I write ...
3
votes
2answers
90 views

dot instead of comma as thousand separator

I read about --blocksize for ls to get a thousands separator. However my computer gives me dot (.) and not comma (,): $ ls -l --block-size="'1" total 11.893.190.656 -rw------- 1 carlah users ...
1
vote
2answers
36 views

Running a program to output in Dutch

I'm running KDE Arch linux and trying to update my system using pacman and have it output in Dutch. I've tried the following sudo LANG=nl_NL.UTF-8 pacman -Syy sudo KDE_LANG=nl_NL.UTF-8 pacman -Syy ...
2
votes
1answer
39 views

How does zoneinfo get updated if at all?

I have been installing several systems lately have noticed a difference of opinion on how to set time-zones. Arch Linux Beginners' Guide says to use a symlink and the Gentoo HOW TO Guide says to copy ...
2
votes
3answers
74 views

How to have console messages in English?

I am French and use my Debian system in French. However, I would like to have error messages in terminal in English. It allows me to post them on English speaking websites. How can I change my ...
0
votes
0answers
65 views

Cylon-Linux: is there a Spanish locale?

I would like to know if it is possible to install the Spanish language. Being a derivative of Ubuntu, it is installed the same way, but even assigning language and local time during installation, ...
4
votes
2answers
469 views

How to mount an NTFS drive as utf8 over NFS

Question How to mount a nfs share (NTFS formatted fileystem) as utf8 in CentOS 6.5? What I tried mount -o iocharset=utf8 mount -o nfs=utf8 mount -o utf8=1 mount -o utf8 Problem: When I ...
0
votes
0answers
100 views

What are these strange characters in wifi-menu and alsamixer?

I have a fresh install of Arch. When I run wifi-menu or alsamixer, both of which I think use dialog, the display in the shell is not correct. The border, for example, is drawn with the wrong ...
1
vote
1answer
93 views

locale-dependent bash script: How to properly ensure locale?

I went through a strange bug in a bash script which is on another machine, accessed via ssh (or other ssh like clients). It was basically a menu, in particular showing IP address(es) of the machine ...
1
vote
1answer
68 views

Julian calendar for a UK locale in ncal

On my machine, ncal identifies my country code as GB, and use that to find the date for the shift to the gregorian calendar, and I think cal uses the same date by default: cal: $ cal 09 1752 ...
1
vote
1answer
76 views

who -b date format varies strangely

I run who -b to get the date of the last reboot. It returns 2013-10-29 14:55. Now ran by a daemon (I am sending this date to a server) it returns Oct 29 14:55. But some other times (before last reboot ...
4
votes
1answer
59 views

date modifiers explained

Again, I found some interesting I don't understand in an info page, in info dateto be precisely: An optional modifier can follow the optional flag and width specification. The modifiers are: ...
0
votes
0answers
45 views

How to change gnome session locale?

How do I change the default locale for my gnome session? I created /etc/default/locale-local with this content: LANG=pt_PT.UTf-8 LC_MESSAGES=en_US.UTF-8 and added this to /etc/pam.d/gdm3, ...
4
votes
2answers
445 views

Can I change the output format of the “last” command to display the year?

I'm trying to find a way to report on the most recent login for all users on my Solaris 10 server. I'm starting with the output of the last command. Using that command, I get output like this: ...
6
votes
1answer
147 views

locale definition with French republican calendar

I wonder if it is possible to create a locale definition that would make the C library format the dates according to the French republican calendar. I expect then, for example, run `date' and get ...
6
votes
1answer
472 views

Unzipping certain archives works on Windows but not on Linux

I've asked a few people and just thought about asking it here. We get sent files from an international company for design work in a zip format. Well when I run a script to unzip the files in the ...
6
votes
2answers
155 views

Are the outputs of /proc/meminfo, /proc/cpuinfo etc always in English?

I am writing code that relies on the output of /proc/meminfo, /proc/cpuinfo etc. Are the file contents always in English? For example, will MemTotal in /proc/meminfo always be MemTotal in all locales? ...
1
vote
2answers
138 views

Accent error on OpenWrt 12.09?

[user@localhost ~] ssh -x -a root@192.168.1.1 BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash) ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09, r36088) ...
0
votes
1answer
1k views

Linux Mint 14 system language turns into chinese. How can I switch back to English?

Today for testing purpose I installed KDE alongside Cinnamon in Linux Mint 14. Unfortunately, after that my system language switch to Chinese!!! All the menus and notification is in Chinese now!! How ...
2
votes
2answers
3k views

How do I install the cs_CZ.ISO8859-2 locale on Ubuntu 12.04

I need the cs_CZ.ISO8859-2 locale to exist on Ubuntu 12.04 so a specific unit test can pass. The test makes the following call: std::locale("cs_CZ.ISO8859-2") On my OS X Lion install, this locale ...
2
votes
1answer
576 views

ArchLinux how to setup English Language with german keyboardlayout

Can anyone explain me how to setup up ArchLinux to be completely in English except for the KeyboardLayout? (it should be de-latin1-nodeadkeys)
2
votes
1answer
274 views

zsh broke compose key and special chars

I thought I'd switch to zsh, so I did just that with chsh -s /usr/bin/zsh user, unfortunately, it broke my compose key (unresponsive both in the console and in an X terminal); also, when I read email ...
1
vote
0answers
106 views

Use the system Compose database in Gtk applications [duplicate]

I'm using a X server which doesn't implement the XKB extension (it is VNC, but I don't think it matters, my vncviewer is running on Windows XP, I don't think it matters either). I've set up a ...
4
votes
2answers
261 views

'ls -l' file timestamp format

When I issue the command: ls -l The file/directory modification timestamp column (specifically the month part) is displayed in the native language of the country I'm based in instead of English. ...
1
vote
2answers
85 views

How to set and read time w/o language barrier in linux?

Currently when you run the command date the output is Wed Sep 18 07:23:28 EDT 2013 and if you want to change the date you'd have to run date -s "18 SEP 2013 07:15:00" if you try to change ...
1
vote
1answer
132 views

Running `build-locale-archive` causes my ssh session to terminate

I had previously asked the question, How do I reduce the size of locale-archive?, and got a great answer to my question, but when I execute build-locale-archive I get disconnected from my RHEL6 host. ...
4
votes
1answer
805 views

How do I reduce the size of locale-archive?

I have a need to reduce the size of the locale-archive file on some of my RHEL6 systems. Here is that file on my system: [root@-dev-007 locale]# ls -l total 96800 -rw-r--r--. 1 root root 99158704 ...
2
votes
1answer
1k views

How do I add other language in a Debian system?

I want to add another language in Debian. I have done dpkg-reconfigure locales locale -a C C.UTF-8 en_US.utf8 POSIX ru_RU.utf8 but I don't have any result. root@ai:/home/volkov# locale ...
1
vote
2answers
432 views

What are the implications of setting LC_ALL on Solaris

To support an application we just installed, I've been asked to add this command to the /etc/profile file on our Solaris 10 UNIX server: LC_ALL=en_US.UTF-8; export LC_ALL The effect of this changes ...