Bug 7931 - Duplication of gettext setup in python
Summary: Duplication of gettext setup in python
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-19 13:45 CEST by Pierre Ossman
Modified: 2022-05-24 13:02 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-05-19 13:45:58 CEST
We are gradually having more and more things in the server that are translated. Each of these need to set up gettext properly to get access to the translations. Unfortunately, we've just been copying the setup code in to each new place. For long term viability, we should coordinate this, so everything works the same way.

One thing to consider is the modularity of the translations. Right now, everything is centralised in a "tl-misc" catalogue. That is a bit inflexible, though, so it would be preferable if the common setup can still handle on catalogue per module.

Note You need to log in before you can comment on or make changes to this bug.