I sketched out how this could work in lp:~mvo/software-center/build-
i18n-for-all

If there are multiple languages supported s-c buids a xapian index for each of 
them (that takes some time of course).
That works with the branch and if you run:
$ rm -rf ./data/xapian
$ PYTHONPATH=. utils/update-software-center --local
$ ./software-center

it will build multiple databases, e.g. for me:
$ ls data/xapian
ca  de  en  es  fr  he  hu  it  pt  ru

What is missing is:
- cleanup when languages get removed
- ensuring that there is always a default fallback DB
- ensure to not rebuild if there are no changes in the app-install-data
- robustness

But the biggest problem is that the package descriptions are only availalbe in 
the system default language. That is a problem
with "apt" and not software-center. It download only that. I add a apt task to 
allow it having a option to download all supported
languages.

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

Title:
  Package descriptions etc display only in the language of whoever
  installed the OS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/434601/+subscriptions

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

Reply via email to