Re: %find_lang does not find locale files

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

 



On Wed, May 24, 2023 at 5:11 AM Parag Nemade <panemade@xxxxxxxxx> wrote:
>
> Hi,
>
>
> On Tue, May 23, 2023 at 11:58 PM Alexander Ploumistos <alex.ploumistos@xxxxxxxxx> wrote:
>>
>> Hello,
>>
>> I know this has been asked before, more recently four years ago in
>> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/OQDWCHFDTBKCPHWF2VLPUF74WC76TCNY/#6VUBRYAAZMX6SOREM7ZENDV44MIPE7WH
>>
>> 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?
>>
>>
>> 1. https://github.com/sezanzeb/input-remapper/
>> 2. https://bugzilla.redhat.com/show_bug.cgi?id=2180418
>> _______________________________________________
>
>
> 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?
_______________________________________________
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