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

Using ordered parameters (even if en-US does not)

3 views
Skip to first unread message

Eduardo Trápani

unread,
May 23, 2013, 10:53:36 AM5/23/13
to dev-l10n
Hi,

While translating central I ran into this bug[1]. There I learned that
we can use ordered parameters even if en-US doesn't (and the other way
around). Maybe everybody but me already knew that :). But I thought it
would not hurt to bring it up here:

For example, these two are equivalent for en-US and ab-CD could also use
either form:

1. FALLBACK section line %S (%S) prevents caching of line %S (%S) in the
%S section.

2. FALLBACK section line %1$S (%2$S) prevents caching of line %3$S
(%4$S) in the %5$S section.

As a result of that bug, in appcacheutils.properties many en-US strings
changed from 1. to 2. But the labels did not change, so you might have
noticed or not.

Axel says that it's ok for localizations not to follow en-US on that,
(that's why the labels did not change) so we can use ordered or
unordered parameters regardless of the original text.

Eduardo.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=872993

Francesco Lodolo [:flod]

unread,
May 23, 2013, 10:57:56 AM5/23/13
to Eduardo Trápani, Mozilla l10n Mailing List
>
> Axel says that it's ok for localizations not to follow en-US on that,
> (that's why the labels did not change) so we can use ordered or
> unordered parameters regardless of the original text.
>

Hi Eduardo,
I sent a message a couple of days ago on this mailing list, but a reminder
is never bad ;-)
https://groups.google.com/forum/?fromgroups#!topic/mozilla.dev.l10n/uZnrMQI65Z4

Francesco

Eduardo Trápani

unread,
May 23, 2013, 11:02:40 AM5/23/13
to dev-l10n
> I sent a message a couple of days ago on this mailing list, but a
> reminder is never bad ;-)
> https://groups.google.com/forum/?fromgroups#!topic/mozilla.dev.l10n/uZnrMQI65Z4

I hadn't seen it! I like yours better :). Thanks for the pointer.

Eduardo.
0 new messages