On Wed, May 24, 2023 at 5:11 AM Parag Nemade panemade@gmail.com wrote:
Hi,
On Tue, May 23, 2023 at 11:58 PM Alexander Ploumistos alex.ploumistos@gmail.com wrote:
Hello,
I know this has been asked before, more recently four years ago in https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
I'm not sure what the "right" way of dealing with this is, so I would really appreciate any advice.
I've recently packaged input-remapper[1] and during the review[2], Zbigniew pointed out that I had forgotten to use the %find_lang macro for the localization files.
The translations are placed in /usr/share/input-remapper/lang/ and apparently, %find_lang does not want to find them there. Is there a standard location that works across linux distributions? I guess that if the answer is yes, I should get upstream to move their files there. If not, is there something else to be done?
I did a quick search and found this discussion https://pagure.io/packaging-committee/issue/1058#comment-775111 Maybe this will not help you but will give some insights.
Thank you Parag, that was indeed enlightening.
@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? Does the %lang tag serve any purpose when there aren't separate language-specific packages?