From Fedora Project Wiki
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[User:Petersen|Petersen]] ([[User talk:Petersen|talk]])
== language attribute ==
I would prefer to name langpacks like <code>%{name}-langpack-bs</code>.


Although it is a little more verbose I think it create a cleaner package namespace
The example forgets to mark the Horde_Perms.mo with language attribute as a file specific to %{1} locale. Moreover global guidelines state "Keep in mind that usage of %find_lang in packages containing locales is a MUST." I recommend to deal with it here. Oherwise you will create contradicting guidelines. [[User:Ppisar|Ppisar]] ([[User talk:Ppisar|talk]]) 14:06, 25 January 2016 (UTC)
and makes it very easy to find all langpacks, etc.
 
* Good point - %lang tagging is basically superfluous for langpacks since normally one can just not install or remove the langpack package. I think for langpacks %find_lang should no longer be used. --[[User:Petersen|Petersen]] ([[User talk:Petersen|talk]]) 10:49, 28 January 2016 (UTC)

Latest revision as of 10:55, 28 January 2016

language attribute

The example forgets to mark the Horde_Perms.mo with language attribute as a file specific to %{1} locale. Moreover global guidelines state "Keep in mind that usage of %find_lang in packages containing locales is a MUST." I recommend to deal with it here. Oherwise you will create contradicting guidelines. Ppisar (talk) 14:06, 25 January 2016 (UTC)

  • Good point - %lang tagging is basically superfluous for langpacks since normally one can just not install or remove the langpack package. I think for langpacks %find_lang should no longer be used. --Petersen (talk) 10:49, 28 January 2016 (UTC)