Hi.
I've tried to extend a little bit the Packaging Guidelines section Handling Locale Files.
The draft is here: https://fedoraproject.org/wiki/PackagingDrafts/find_lang
There is slight update - not all locales are handled via gettext, Qt world has its own system, so I've tried to make the intro less gettext-centric.
And also the find_lang macro can do a lot more than just find some gettext locales, which is a bit hard to figure out for a newbie, so I've added a hint about that and how to get some help.
Hope there are no problems with such changes, and that I haven't done any mistakes in English ;-)
-TIA for including
This looks reasonable to me. Could you add a section about what the options to %find_lang at the end instead of just telling people to read the output of /usr/lib/rpm/find-lang.sh ?
Replying to [comment:1 toshio]:
Could you add a section about what the options to %find_lang at the end instead of just telling people to read the output of /usr/lib/rpm/find-lang.sh ?
ok, I've tried - I also extended the example to show the complex features (moving it to the end, after the features are explained)
and I've removed the paragraph about appending the find_lang output to the first file passed to %files via -f, as the rpmbuild version from F16 now accepts multiple -f options
Draft approved (also, we will retain the "Why do we need to use %find_lang?" subsection) (+1:7, 0:0, -1:0)
Announce Text:
The Guidelines section on Handling Locale Files has been updated to reflect the additional functionality in %find_lang.
https://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files
Metadata Update from @spot: - Issue assigned to spot