Differences between version 2 and previous revision of LocaleName.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 1, 2009 7:40:48 pm | by LawrenceDoliveiro | Revert |
Older page: | version 1 | Last edited on Monday, June 1, 2009 7:35:26 pm | by LawrenceDoliveiro | Revert |
@@ -4,5 +4,15 @@
''ll''_''cc''<br>
''ll''.''enc''<br>
''ll''_''cc''.''enc''
-where ''ll'' is an [ISO] 639 language code, ''cc'' is an [ISO] 3166 country code, and ''enc'' is an encoding.
+where ''ll'' is an [ISO] 639 language code (lowercase)
, ''cc'' is an [ISO] 3166 country code (uppercase)
, and ''enc'' is an encoding (uppercase). For example
+
+ <tt>en_GB</tt> -- British English<br>
+ <tt>en_NZ.UTF-8</tt> -- New Zealand English, UTF-8 encoding<br>
+ <tt>ja</tt> -- Japanese language<br>
+ <tt>ja.SJIS</tt> -- Japanese language, Shift-JIS encoding<br>
+ <tt>ja_JP.UTF-8</tt> -- Japanese language, UTF-8 encoding, as used in Japan
+
+There is also a special locale, just named “<tt>C</tt>”, which just means “no localization”.
+
+These names are used as directory names for holding the corresponding localization information in <tt>/usr/share/X11/locale/</tt>''localename''<tt>/</tt>
.