Questions tagged [i18n]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 views

Growpart throws unexpected error "unexpected output in sfdisk --version"

I am trying to grow GPT table for enlarged QEMU virtual disk. But when running growpart, it throws: ~ growpart /dev/sda 2 unexpected output in sfdisk --version [sfdisk,来自 util-linux 2.36.2] Where is ...
user avatar
0 votes
0 answers
9 views

Limit gettext translation length to avoid truncation

I work on an application which uses gettext to translate internal strings, e.g.: char * button_caption = gettext("Printer Settings"); The problem I'm regularly running into is with ...
user avatar
0 votes
1 answer
155 views

Gnome (Debian 11): How to install en_DK formats (date, numbers, units)?

I switched my system from Debian 10 to 11 (new computer), so I'm trying to revert to my normal settings. I have installed with en_US locale, which I do want for UI texts, but I need to revert to ISO ...
user avatar
  • 574
0 votes
0 answers
32 views

Custom system locale results in unreadable output

I try to define a custom locale on Debian Bullseye, and everything is going well until I set the custom locale as the system locale. After I set the custom locale as the system locale output becomes ...
user avatar
  • 526
0 votes
0 answers
85 views

How to allow multiple keyboard layouts and variants on Gnome login?

First of all, I am not sure any more: Does Gnome Shell (version 40) allow switching keyboard layouts on the login screen, at all? As for configuring it, there is some confusion around a "login ...
user avatar
  • 173
-1 votes
1 answer
24 views

xgettext incorrectly sorts strings

I'm trying to produce translation files from C sources with translation entries coming in the exact same order as they appear in the sources. I do not want them sorted alphabetically, or coming in ...
user avatar
1 vote
0 answers
20 views

looking for a good Linux tool for hindi transcription

I'm looking for a Hindi transcription tool in Linux. For English, VOSK is pretty good since it recognizes both Indian and US English. Is there anything that any agency (like C-DAC) under the Govt. of ...
user avatar
2 votes
1 answer
58 views

Is there a way to change the flag associated with a language?

I am using Manjaro Linux with everything up to date. In my taskbar, I have the following: Is there a way I can change the flag associated with a language selection? I want to keep the language but ...
user avatar
3 votes
3 answers
539 views

How to properly decode utf7 file names obtained from an IMAP server

I have a few directories that I downloaded from an IMAP server. Example: $ find . -maxdepth 1 . ./&BCEEPwQwBDw- ./&BCMENAQwBDsENQQ9BD0ESwQ1- ./inbox ./&BCcENQRABD0EPgQyBDgEOgQ4- ./&...
user avatar
13 votes
2 answers
413 views

Why can't I type a g̃ the same way I type ñ?

My language, Guarani, uses G̃/g̃ to denote the nasalized velar approximant. I thought I'd be able to type it by combining a dead tilde with g, but this does not work. Why doesn't it, and how can I fix ...
user avatar
  • 171
2 votes
1 answer
224 views

CentOS7/GDM/Xfce - Locale set to xxx.UTF-8 at session start despite system-wide locale to xxx.iso88591

I'm using CentOS 7 with XFCE and GDM. My issue is as follows: I want my locale to be LANG=fr_FR.iso88591 (required by an antic piece of software). Following CentOS official guide, I did the ...
user avatar
1 vote
1 answer
163 views

Why so many default fonts in Ubuntu?

I think it's great to have a variety of fonts to choose from, but given that I already specified my region during the install, it seems odd that the Western fonts are by far the minority -- crowded ...
user avatar
  • 609
7 votes
2 answers
2k 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....
user avatar
  • 6,931
4 votes
0 answers
213 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 ...
user avatar
  • 17.9k
0 votes
1 answer
557 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 ...
user avatar
  • 7,249
5 votes
0 answers
611 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 ...
user avatar
  • 789
3 votes
2 answers
3k 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) ...
user avatar
  • 7,249
2 votes
1 answer
1k 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: ...
user avatar
  • 123
5 votes
1 answer
4k 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 ...
user avatar
  • 113
0 votes
2 answers
1k 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 ...
user avatar
  • 868
1 vote
1 answer
1k 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 ...
user avatar
  • 781
0 votes
2 answers
2k 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" ...
user avatar
2 votes
0 answers
31 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 ...
user avatar
  • 10.7k
1 vote
0 answers
52 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., ...
user avatar
  • 13
4 votes
1 answer
526 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 ...
user avatar
2 votes
1 answer
192 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 ...
user avatar
  • 10.9k
2 votes
0 answers
104 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 ...
user avatar
0 votes
1 answer
640 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-...
user avatar
9 votes
1 answer
422 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 ...
user avatar
  • 333
1 vote
0 answers
581 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 ...
user avatar
7 votes
2 answers
18k 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 ...
user avatar
  • 1,420
8 votes
2 answers
889 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?
user avatar
  • 183
4 votes
1 answer
2k 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 ㄠㄨㄩ─┃┆ ◆□■△ ぁあぃい ┻╋┠┯┨ ꓃꓄꓆꒺꒻ 々—~‖…‘” ...
user avatar
2 votes
1 answer
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?...
user avatar
  • 3,051
0 votes
3 answers
3k 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 ...
user avatar
  • 1,330
123 votes
7 answers
23k 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 ...
user avatar
  • 6,931
7 votes
2 answers
3k 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 ...
user avatar
  • 16.2k
9 votes
2 answers
15k 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 ...
user avatar
  • 3,438
3 votes
2 answers
183 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 ...
user avatar
  • 151
8 votes
6 answers
8k 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 ...
user avatar
12 votes
3 answers
40k 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 ...
user avatar
4 votes
2 answers
5k 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 ...
user avatar
  • 16.2k
6 votes
1 answer
123 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 ...
user avatar