Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [i18n]

i18n, short for “internationalization”, means adapting software to handle multiple languages and other regional differences.

3
votes
0answers
67 views

Valid values for LC_CTYPE?

I have found a number of questions on various forums where Mac users complain about locale errors when they log in to Linux systems over SSH which complain that the LC_CTYPE=UTF-8 setting is incorrect....
4
votes
0answers
74 views

Is there a reason why the value of a wchar_t retrieved by mbtowc() is not the UNICODE value?

If I convert the character 'ö' from a UTF-8 locale (where is is represented by the two octetts 0xC3 0xB6) to a wchar_t, I get a wchar_t value that is 0xF6. This applies to Linux and Solaris. If I ...
0
votes
1answer
269 views

How do I get a Hebrew keyboard layout with Caps-Shift-based Niqqud (SI 1452)?

In Microsoft Windows, the Hebrew keyboard layout has Hebrew characters in the basic state, English capital letters in Shift state or in Caps Lock state, but if you use Shift when Num Lock is on, you ...
3
votes
0answers
389 views

How to change secondary font used by gnome terminal?

Some environment infos: Arch Linux KDE Plasma 5.10.4 GNOME Terminal 3.24.2 Using VTE version 0.48.3 +GNUTLS I set to use Ubuntu Mono Regular font in gnome terminal profile. And Latin characters do ...
1
vote
2answers
1k views

Why do I get a “error: Bad entry 'en_US '” when generating locales?

Code talks louder than words: root@myhost # locale-gen Generating locales (this might take a while)... (skipping a bit here) error: Bad entry 'en_GB ' en_GB.UTF-8... done (skipping a bit here) ...
2
votes
1answer
435 views

Displaying accents on the Linux console

I'm trying to display ISO-8859-1 accents on a Linux console (vt). This used to be as trivial as doing: echo -e '\xe9' By default in CentOS 6, the above displays a block. If I run the following: ...
4
votes
1answer
1k views

Why non-ASCII characters are displayed using a question mark?

I'm working on an embedded linux distribution based on Yocto Morty. I have used an Ubuntu distribution to create the following two files: fòò.dàt bàr.dàt I have stored the files into a pendrive and ...
0
votes
2answers
776 views

change zypper language

I just installed openSUSE Leap 42.2. I'm struggling with the language settings. I want the computer to talk english to me, but I want my formats to be swedish, so I've changed the settings to a mix ...
1
vote
1answer
603 views

set language bash and put variables

I'm doing a bash script that contains two languages. But I could not achieve its structure. The messages "echo" change, the rest does not change. Example my script: eng echo "Hello word" sudo ...
0
votes
2answers
702 views

how to translate bash script “echo messages” automatic method [closed]

I have a bash script that i need to translate to other languages. Only echo messages Is there some automatic method, translation whole script, or tool that can help me translate all messages "echo" ...
2
votes
0answers
23 views

Is there a way for saving changelogs in different languages in Debian

Most of the changelogs, specifically upstream changelogs I have seen in Debian for e.g. $ zcat /usr/share/doc/<$packaagename>/changelog.gz | less shows the changelog only in English. If upstream ...
1
vote
0answers
51 views

Change Language and Programmes in the installer

How could I change the default language that comes in the installer? Exemple: change from english to portuguese br. I would also like to change those programs that optionally put me to install (i.e., ...
4
votes
1answer
424 views

How to get this collation in sort?

I need to set up command sort, so it is sorting lines into this order: Akira Kurosawa Al Ernest Garcia Alain Sarde Alan Ladd, Jr. Albert S. Ruddy Alberto Grimaldi Alfred Hitchcock Amanda Plummer ...
2
votes
1answer
170 views

Linux speak english,hpux italian,why?

I want my system speak italian as possible on hpux,using bash i see help eval eval: eval [arg ...] Esegue argomenti come un comando di shell. Combina gli ARGOMENTI dentro una singola ...
2
votes
0answers
83 views

Reliable method to determine system language in OS X

I was hoping to do something like defaults read -g AppleLanguages | awk -F, '/[^(]/{print $1;exit}' but if only one language is listed in "Preferred Languages", then defaults read -g ...
0
votes
1answer
473 views

Running Linux in text mode - blank diamonds instead of Chinese/Punjabi etc. characters

While in the text mode and using, for example, Chinese/Simplified or India/Punjabi locale I get blank diamond symbols in the console in place of the characters. I am running Xubuntu with language-...
9
votes
1answer
329 views

Is there a utility like dspcat on Linux?

I use the following dspcat command on AIX and can dump message catalogs created with the gencat command: dspcat –g /u/is/bin/I18N/l/lib/libca/libcalifornia.117.cat >> /tmp/message.smc I have ...
1
vote
0answers
537 views

Firefox 29 default Accept-Language bug

Since I upgraded Firefox to version 29 it is sending the wrong Accept-Language header en-US,en;q=0.5 which should be pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3, it was right on previous version. I managed ...
7
votes
2answers
14k views

In Fedora, how do I select a proper Norwegian keyboard layout?

I just installed Fedora 19 in VirtualBox using an image from virtualboxes.org. However, I'm unable to select a proper Norwegian keyboard. When I open the keyboard layout, it shows an US layout. A ...
8
votes
2answers
748 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?
3
votes
1answer
1k views

Incorrect sorting according en_US.UTF-8

I'm seeing a weird behavior of the sort command when I sort by en_US.UTF-8. I'm trying to sort this file (LC_COLLATE=en_US.UTF-8 sort testdata): 㐀 㐃㐄 ▼▽◢ ㎏㎜㎝ bqz ㄠㄨㄩ─┃┆ ...
2
votes
1answer
2k views

How do I make mutt show Cyrillic characters on OpenBSD?

I'm using mutt-1.5.21p0v0 to read my mail on OpenBSD 5.2 every now and then. Why does mutt show question marks instead of Cyrillic characters when I open standards-compliant email messages in Russian?...
0
votes
3answers
2k views

LANG environment variable not respected

OS: Mint13 I have set my preferred language to zh-cn via the language support option. This has changed the language of a small handful of things (synaptic, dates and times). However everything else ...
89
votes
7answers
13k 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 ...
5
votes
2answers
2k views

How to fix diacritics in PDF forms in Evince?

I happen to live in Czech Republic and we have such letters like ě, š, č, ť, etc in the alphabet and use them everywhere, including addresses. Today I was filling a PDF form in Evince and noticed that ...
4
votes
1answer
10k views

Setting locale for user

I'd like to set a locale for my user different than system locale. By putting export LANG=en_US.utf8 in .bashrc I could do that for the shells, but still it's not working for applications not started ...
3
votes
2answers
176 views

National characters in manpages

I am trying to get a proper display of national characters with FreeBSD man. I have tried running the following on 8.1 and 9.0: # PAGER=less LANG="pl_PL.UTF-8" man -d -M. ./man.1 -- Using ...
5
votes
6answers
4k views

Fastest way to get an Euro symbol at a prompt?

First of all I'm working on a keyboard using a QWERTY layout. Now once in a while I need to get the Euro (€) symbol in my terminal (typically in a xterm). If I cut'n'paste the Euro symbol, it shows ...
10
votes
3answers
30k views

How can I change the language in chromium?

I've installed chromium, but it deeply sucks that it uses my mother tongue (german) in its UI and for websites by default. I want the english back, like firefox did. I'm using archlinux's default ...
4
votes
2answers
4k views

How can I force codepage/locale (different from my Linux system locale) for non-Unicode Wine applications?

I prefer using English locales for my system, but have to use some old Unicode-unaware Russian and Czech applications. In Windows I could set a locale for such applications in a separate Control Panel ...
6
votes
1answer
108 views

What is ANALYZE/CATALOG for Linux msginit binary message catalog?

VMS has an ANALYZE command that examines an item such as an executable image or an object file displaying information about its contents. Is there such a command for examining the output of msginit ...