Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generate l10n installers with missing entities

0 views
Skip to first unread message

armenzg

unread,
Aug 4, 2008, 8:09:43 PM8/4/08
to
If an en-US entity is added and it is not added to the locales, we
currently generate nightly installers which will break the moment that
the entity is tried to be reached by the code.

Axel mentioned that we can generate installers with the missing
entities by adding the en-US

Is this already available? or is it by adding the l10n-merge tool
somehow?

Axel Hecht

unread,
Aug 4, 2008, 8:41:02 PM8/4/08
to

That depends on the make-jars rewrite, see bug 439050. That patch isn't
ready for review yet.

As people complained about the noise in the l10n group, it might be a
good idea to just ask me directly on these things, as I am really the
one that would know. Or just .builds, not sure how much that group minds.

Axel

F Wolff

unread,
Aug 13, 2008, 2:28:02 AM8/13/08
to dev-...@lists.mozilla.org

This is how we've been building files with the Translate Toolkit -
replacing the source text when a translation doesn't exist. This way we
always get usable translations, even if incomplete.

Friedel

Zbigniew Braniecki

unread,
Aug 13, 2008, 3:49:29 AM8/13/08
to armenzg

I added a small script to Silme to do this ./script/l10nmerge.py:

http://hg.mozilla.org/users/zbraniecki_mozilla.com/index.cgi/silme/file/a70e62eed3c0/scripts/l10nmerge.py

You have three kinds of merges implemented:

-t1: merges l10n entities over source files (en-US)
-t2: merges missing entities at the end of l10n files
-t3: merges missing entities where they should be in the l10n files.

This is just a proof of concept, but a usable one :)

Greetings
Zbigniew Braniecki
--

Mozilla (http://www.mozilla.org)

willyaranda

unread,
Aug 13, 2008, 4:16:52 AM8/13/08
to

It could be nice if the build will shown something when it opens if
there is a missing entity. Maybe a javascript popup with the strings
missing, or maybe a about:l10n page as a start page.

armenzg

unread,
Aug 13, 2008, 12:52:41 PM8/13/08
to
Do we have an about:l10n page?

This obviously will only be for "nightly" builds

Axel Hecht

unread,
Aug 13, 2008, 12:57:40 PM8/13/08
to
No, we don't have an about:l10n page, exposing that information would be
an RFE. Another option we talked about is to modify the branding to
denote those modifications.

Axel

0 new messages