GNOME Bugzilla – Bug 138630
gnome-terminal.schemas is not localized.
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: gnome-terminal.schemas is not localized. Steps to reproduce the problem: 1. Choose [Edit] -> [Current Profile] in menu. Actual Results: The strings 'Default' in [General] tab and 'Terminal' in [Title and Command] tab are not localized. Expected Results: When invoke 'intltool-update --pot' in gnome-terminal/po, derive the above strings from gnome-terminal.schemas.in and can localize gnome-terminal.schemas with gnome-terminal.schemas.in and .po files. [Terminal] -> [Set Character Encoding] in menu also can be selectable by locale. How often does this happen? Always some strings are not localized. Additional Information: I attached the patch.
Created attachment 26156 [details] [review] patch for gnome-terminal.schemas.in I add some important default values to gnome-terminal.schemas.in. e.g. + <default>Terminal</default> + <locale name="C"> + <default>Terminal</default> + <default>Default</default> + <locale name="C"> + <default>Default</default> + <default>[UTF-8,current]</default> + <locale name="C"> + <default>[UTF-8,current]</default> These strings can be added po file by intltool-update.
Hmmm, it must have been sometime after 2.5.5, I guess, but gnome-terminal has had i18n'ed schemas for a while, both in the gnome-2-6 branch and in HEAD. Now, for the three strings you point in comment #1: Default is the point of bug 129889, Terminal from /apps/gnome-terminal/profiles/Default/title is already translated, so this leaves [UTF-8,current]... In [UTF-8,current], 'UTF-8' cannot be translated because it's the name of the encoding, and 'current' is actually used as a marker: this is replaced in encoding.c by the name of the locale encoding, taken from g_get_charset. So this is either NOTABUG or already FIXED.
It is not for translation. e.g. I'll set these msgstr on ja. msgid "[UTF-8,current]" msgstr "[UTF-8,EUC-JP,SHIFT-JIS,ISO2022JP,current]" So the patch is really needed for customozied menus on gnome-terminal.
Well, that sounds reasonable, I guess, since the default encodings the user sees are correlated with LANG. But note this is 100% a separate matter from the rest of the issues. It really belongs in a separate bug/RFE, I'd say. I've just filed bug 144810 for this.