Support installing localization data from click packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor-easyprof-ubuntu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Cris Dywan |
Bug Description
It would be nice if it were possible to add support to a new language/locale by just installing a click package.
This would have several benefits:
1) People could easily add support for non officially supported languages
2) Languages would be updated independently from the system image
3) Some space could be freed from the image, if some languages get moved to click packages
I'm entering this bug against ubuntu-ui-toolkit, because I guess it would need some change to get the correct path where translations are installed (it now calls bindtextdomain with /usr/share/locale, while it should fallback to ~/.local/
For sure, we would need a click hook to move the translations in ~/.local/
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Incomplete → Invalid |
Would it be possible to add symbolic links to /usr/share/locale? Short of that we probably need to set TEXTDOMAIN in the environment, as I'm not aware of any API call that allows changing the default search directory.