* Christopher Swift <christopher.sw...@linux.com> wrote: > Is it at all possible to set a locale, i.e. cy_GB to be the primary LANG > parameter but if there is no .po for cy_GB or the .po is incomplete to > use en_GB as a backup instead of the default en_US?
gettext allows to specify fallback languages: http://www.gnu.org/software/gettext/manual/gettext.html#The-LANGUAGE-variable Actually, I dont know if this works for your situation. Conceptionally, you want some kind of overlay. You could do this by a little script, which compiles several locales to a "virtual" one, eg. by creating symlinks or compiling to new .po files using msmerge: http://www.gnu.org/software/gettext/manual/gettext.html#Updating BUT: these files would become dynamic data, which is not handled (eg. automatic removed on uninstall) by portage. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ ---------------------------------------------------------------------