[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61766] gsettings schemas translations do not support categories
From: |
Bruno Haible |
Subject: |
[bug #61766] gsettings schemas translations do not support categories |
Date: |
Thu, 6 Jan 2022 17:54:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 |
Update of bug #61766 (project gettext):
Status: None => Answer Provided
Assigned to: None => haible
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
While it would theoretically be possible to create a PO file for the
LC_MESSAGES category and a different PO file for the LC_TIME category, this
approach is a bit expensive to put in place.
The approach that is ready-to-use is:
1) xgettext extracts the messages for both categories into a single PO file.
2) This single PO file gets compiled to a single .mo file.
3) By defining the variable
EXTRA_LOCALE_CATEGORIES = LC_TIME
in your package's po/Makevars file, you ensure that the PO file is accessed
both in the LC_MESSAGES category and in the LC_TIME category.
Problem solved.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61766>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/