Re: A question about locale files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux