Re: A question about locale files
Am Montag, den 26.04.2010, 23:46 +0800 schrieb Robin 'cheese' Lee: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. file a bug against the filesystem package because it should provide a proper skeleton for the locales. 2. /usr/share/locale/ru_RU.utf8 and /usr/share/locale/ru_RU.UTF-8/ are obvious duplicates. 3. /usr/share/locale/ru_RU.UTF-8/ should be identical with /usr/share/locale/ru/, /usr/share/locale/ja_JP.UTF-8/ should be identical with /usr/share/locale/ja/ . We assume UTF-8 by default, so I guess you can kill the folders with .UTF-8. Disclaimer: I'm not sure about local peculiarities though. Regards, Christoph -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
Am Mittwoch, den 28.04.2010, 00:05 +0200 schrieb Christoph Wickert: Am Montag, den 26.04.2010, 23:46 +0800 schrieb Robin 'cheese' Lee: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. file a bug against the filesystem package because it should provide a proper skeleton for the locales. Ok, I have to correct my previous statement. No need to file a bug because these directories should not be there. Regards, Christoph -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
Christoph Wickert wrote: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. file a bug against the filesystem package because it should provide a proper skeleton for the locales. No, it's this package (gentoo) which is broken. gettext automatically recodes text, so it makes no sense whatsoever to provide separate translations in multiple encodings. Kevin Kofler -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
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! -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
A question about locale files
Hello! I am now dealing with a package named 'gentoo'. It installs following locale files: /usr/share/locale/de/LC_MESSAGES/gentoo.mo /usr/share/locale/es_MX/LC_MESSAGES/gentoo.mo /usr/share/locale/fr/LC_MESSAGES/gentoo.mo /usr/share/locale/it/LC_MESSAGES/gentoo.mo /usr/share/locale/ja_JP.UTF-8/LC_MESSAGES/gentoo.mo /usr/share/locale/pl/LC_MESSAGES/gentoo.mo /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 /usr/share/locale/sv/LC_MESSAGES/gentoo.mo There are some issues here: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. 2. /usr/share/locale/ru_RU.utf8 and /usr/share/locale/ru_RU.UTF-8/ are obvious duplicates. 3. /usr/share/locale/ru_RU.UTF-8/ should be identical with /usr/share/locale/ru/, /usr/share/locale/ja_JP.UTF-8/ should be identical with /usr/share/locale/ja/ . Which is the proper way to solve these issues? -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
Hi Robin, I'm sure a peek into http://fedoraproject.org/wiki/Packaging/Guidelines#Handling_Locale_Files will definitely help you. HTH, Felix Am 26.04.2010 17:46, schrieb Robin 'cheese' Lee: Hello! I am now dealing with a package named 'gentoo'. It installs following locale files: /usr/share/locale/de/LC_MESSAGES/gentoo.mo /usr/share/locale/es_MX/LC_MESSAGES/gentoo.mo /usr/share/locale/fr/LC_MESSAGES/gentoo.mo /usr/share/locale/it/LC_MESSAGES/gentoo.mo /usr/share/locale/ja_JP.UTF-8/LC_MESSAGES/gentoo.mo /usr/share/locale/pl/LC_MESSAGES/gentoo.mo /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 /usr/share/locale/sv/LC_MESSAGES/gentoo.mo There are some issues here: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. 2. /usr/share/locale/ru_RU.utf8 and /usr/share/locale/ru_RU.UTF-8/ are obvious duplicates. 3. /usr/share/locale/ru_RU.UTF-8/ should be identical with /usr/share/locale/ru/, /usr/share/locale/ja_JP.UTF-8/ should be identical with /usr/share/locale/ja/ . Which is the proper way to solve these issues? -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
On 04/26/2010 11:48 PM, Felix Kaechele wrote: Hi Robin, I'm sure a peek into http://fedoraproject.org/wiki/Packaging/Guidelines#Handling_Locale_Files will definitely help you. HTH, Felix Am 26.04.2010 17:46, schrieb Robin 'cheese' Lee: Hello! I am now dealing with a package named 'gentoo'. It installs following locale files: /usr/share/locale/de/LC_MESSAGES/gentoo.mo /usr/share/locale/es_MX/LC_MESSAGES/gentoo.mo /usr/share/locale/fr/LC_MESSAGES/gentoo.mo /usr/share/locale/it/LC_MESSAGES/gentoo.mo /usr/share/locale/ja_JP.UTF-8/LC_MESSAGES/gentoo.mo /usr/share/locale/pl/LC_MESSAGES/gentoo.mo /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 /usr/share/locale/sv/LC_MESSAGES/gentoo.mo There are some issues here: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. 2. /usr/share/locale/ru_RU.utf8 and /usr/share/locale/ru_RU.UTF-8/ are obvious duplicates. 3. /usr/share/locale/ru_RU.UTF-8/ should be identical with /usr/share/locale/ru/, /usr/share/locale/ja_JP.UTF-8/ should be identical with /usr/share/locale/ja/ . Which is the proper way to solve these issues? This guideline does not talk about the question I am asking. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: A question about locale files
Am 26.04.2010 17:46, schrieb Robin 'cheese' Lee: It installs following locale files: ... /usr/share/locale/ru_RU.CP1251/LC_MESSAGES/gentoo.mo ... There are some issues here: 1. Directories like /usr/share/locale/ru_RU.* are not provided by any package. This conflicts with guidelines. 2. /usr/share/locale/ru_RU.utf8 and /usr/share/locale/ru_RU.UTF-8/ are obvious duplicates. 3. /usr/share/locale/ru_RU.UTF-8/ should be identical with /usr/share/locale/ru/, /usr/share/locale/ja_JP.UTF-8/ should be identical with /usr/share/locale/ja/ . Which is the proper way to solve these issues? and Felix Kaechele responded : http://fedoraproject.org/wiki/Packaging/Guidelines#Handling_Locale_Files will definitely help you. I think the guidelines Felix mentioned will simply locate the locale files and make sure they end up on the %files list, so the package will be complete, but they do not address the issue of whether the location is compatible with the Fedora standard layout guidelines. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel