Re: %find_lang does not find locale files

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

 



On 24. 05. 23 8:06, Alexander Ploumistos wrote:
@churchyard:
Miro, is it possible to tell %pyproject_save_files about the locale
directory or should I resort to one of the workarounds mentioned in
the ticket?

%pyproject_save_files currently detects and marks %lang files if they:

 - have a .mo suffix
 - are directly in a directory called LC_MESSAGES

The parent directory of LC_MESSAGES is considered the language code. If it has _ in it, the part after it is removed.

For example:

  /usr/lib/python3.11/site-packages/notebook/i18n/fr_FR/LC_MESSAGES/nbui.mo

...is marked as %lang(fr).

Does the %lang tag serve any purpose when there aren't
separate language-specific packages?

I honestly don't know. I guess RPM can be instructed not to install %lang(...) files of disabled languages, but I don't know how/when that actually happens.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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