A question about locale files
Robin 'cheese' Lee
cheeseli at hotmail.com
Wed Apr 28 02:08:01 UTC 2010
On 04/28/2010 07:00 AM, Kevin Kofler wrote:
> Robin 'cheese' Lee wrote:
>
>> /usr/share/locale/es_MX/LC_MESSAGES/gentoo.mo
>>
> I'd suggest:
> mv %{_buildroot}%{_datadir}/locale/es_MX %{_buildroot}%{_datadir}/locale/es
> if they don't provide a separate es(_ES) translation. Mexican Spanish is not
> so different from Castillian Spanish that it can't be understood.
>
>
>> /usr/share/locale/ja_JP.UTF-8/LC_MESSAGES/gentoo.mo
>>
> mv %{_buildroot}%{_datadir}/locale/ja_JP.UTF-8 \
> %{_buildroot}%{_datadir}/locale/ja
>
> UTF-8 is the default encoding, this should be the default translation for
> ja.
>
>
>> /usr/share/locale/ru_RU.CP1251/LC_MESSAGES/gentoo.mo
>> /usr/share/locale/ru_RU.KOI8-R/LC_MESSAGES/gentoo.mo
>> /usr/share/locale/ru_RU.UTF-8/LC_MESSAGES/gentoo.mo
>> /usr/share/locale/ru_RU.cp1251/LC_MESSAGES/gentoo.mo
>> /usr/share/locale/ru_RU.koi8r/LC_MESSAGES/gentoo.mo
>> /usr/share/locale/ru_RU.utf8/LC_MESSAGES/gentoo.mo
>>
> mv %{_buildroot}%{_datadir}/locale/ru_RU.UTF-8 \
> %{_buildroot}%{_datadir}/locale/ru
> rm -rf %{_buildroot}%{_datadir}/locale/ru_RU.*
>
> Again, UTF-8 is the default, and gettext automatically recodes messages if
> needed, so it makes no sense to install all these variants.
>
> Kevin Kofler
>
>
And I found the translations included in gentoo even do not actually
function. You will run the same English version with "LANG=ru_RU.UTF-8"
or "LANG=ja_jp.UTF-8" or what so ever. I have forwarded all these issues
upstream. In the latest build, I suppressed the traslations from building.
And so, I may hope for a guideline which talks about proper locale names.
Cheers!
More information about the devel
mailing list