* new-features.sgml (ov-new1.7.2): Add support for locales from

/usr/share/locale/locale.alias.
	* setup2.sgml (setup-locale-ov): Ditto.
This commit is contained in:
Corinna Vinschen 2010-02-07 13:42:49 +00:00
parent 07d061aeec
commit 8803e713c7
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-02-07 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7.2): Add support for locales from
/usr/share/locale/locale.alias.
* setup2.sgml (setup-locale-ov): Ditto.
2010-02-06 Corinna Vinschen <corinna@vinschen.de> 2010-02-06 Corinna Vinschen <corinna@vinschen.de>
* setup2.sgml (setup-locale-ov): Align description of working modifiers * setup2.sgml (setup-locale-ov): Align description of working modifiers

View File

@ -11,6 +11,8 @@
<listitem><para> <listitem><para>
Cygwin now handles locales using the underlying Windows locale Cygwin now handles locales using the underlying Windows locale
support. The locale must exist in Windows to be recognized. support. The locale must exist in Windows to be recognized.
Locale aliases from the file /usr/share/locale/locale.alias are also
allowed, as long as their replacement is supported by the underlying Windows.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>

View File

@ -203,6 +203,25 @@ manual pages on the homepage of the
"syr_SY" language = Syriac, territory = Syria, default charset "syr_SY" language = Syriac, territory = Syria, default charset
</screen> </screen>
<para>
If the locale specifier does not follow the above form, Cygwin checks
if the locale is one of the locale aliases defined in the file
<filename>/usr/share/locale/locale.alias</filename>. If so, and if
the replacement localename is supported by the underlying Windows,
the locale is accepted, too. So, given the default content of the
<filename>/usr/share/locale/locale.alias</filename> file, the below
examples would be valid locale specifiers as well.
</para>
<screen>
"catalan" defined as "ca_ES.ISO-8859-1" in locale.alias
"japanese" defined as "ja_JP.eucJP" in locale.alias
"turkish" defined as "tr_TR.ISO-8859-9" in locale.alias
</screen>
<para>The file <filename>/usr/share/locale/locale.alias</filename> is
provided by the gettext package under Cygwin.</para>
<para> <para>
At application startup, the application's locale is set to the default At application startup, the application's locale is set to the default
"C" or "POSIX" locale. Under Cygwin 1.7.2 and later, this locale defaults "C" or "POSIX" locale. Under Cygwin 1.7.2 and later, this locale defaults