Generally, language pack-delivered translations are pre-empted by
packaged translations at run-time.

That is, if you install a deb that has mo files, they install to
/usr/share/locale/.

mo files installed by lang packs go here: /usr/share/locale-lanpack/.

(mo files are stripped from pkgs in main, so they don't land in the
'pkg' dir: /usr/share/locale/.)

gettext (through a modification to glibc, I think) in Ubuntu looks in
the pkg location first, then, if not found, falls back to the langpack
location.

This enables users to install customized or non-Ubuntu versions of
packages that may have different strings and get the corresponding
customized translations. While in the vast majority of cases, where no
customized pkg is installed but just the from main is, the lang pack
translations are used.  (This is the mechanism OEM has relied upon for
years.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/586814

Title:
  custom (pgk) translations preempted by lang pack

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to