On Tue, Nov 10, 2009 at 3:31 PM, Aaron Boodman <a...@chromium.org> wrote: > On Tue, Nov 10, 2009 at 3:24 PM, Nebojša Ćirić <c...@google.com> wrote: >>> Implementation notes: >>> >>> In order to avoid slowing down Chrome startup, I think we need to >>> store the manifest in the preferences already localized. So basically, >>> somewhere during extension installation, we need to localize the >>> manifest and store it that way. Whenever the current locale in Chrome >>> changes, we must re-localize from the version stored on disk. >> >> We could generate all manifest.json files during the installation process >> and store them in respective locales: >> _locales/en/manifest.json >> _locales/es/manifest.json >> When user switches UI language, we would load correct manifest.json file and >> replace one in prefs. >> I think this would be cheaper (perf wise) than loading message catalogs when >> we detect UI language change, and then doing manifest localization on the >> fly (less files to load, less processing). > > I think it is OK to re-read the catalogs when the UI language changes. > This is pretty infrequent.
Ok, so it seems like the key people are all on board. This doesn't seem like a huge amount of work. I'll start creating some small bugs against the current state of the world. Cira, are you ready to start diving back into this, or are you still committed to beta blockers on the general product? - a -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev