← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 434601] Re: Package descriptions etc display only in the language of whoever installed the OS

 

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
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/434601

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

Status in Ubuntu Translations:
  Triaged
Status in “apt” package in Ubuntu:
  Triaged
Status in “software-center” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: software-store

  if the cache was geneated with a english locale and then is used by a
  user with german locale, the cache will be english only. this needs to
  be fixed by storting a language attribute in the cache and forcing a
  re-generation (or a generation of a new one) if they don't match.

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