If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[ne-NP] intl.properties / pluralRule is a translated character rather than a number

RESOLVED FIXED

Status

Mozilla Localizations
ne-NP / Nepali (Nepal)
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: flod, Assigned: Nootan Ghimire)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Nepali is using a translated character for its plural rule, rather than a simple ASCII number.

Currently it reads:

pluralRule=१

It should probably be:

pluralRule=1

Currently Firefox falls back to rule 0. 

This affects all releases.

Pootle: https://mozilla.locamotion.org/ne/firefox/translate/toolkit/chrome/global/intl.properties.po#unit=4486357
(Assignee)

Comment 1

2 years ago
Edited! 

RESOLVE?
Thank you. 

I'll wait to see it landing in the repository before closing this bug, but we should be good.
http://hg.mozilla.org/releases/l10n/mozilla-aurora/ne-NP
Assignee: nobody → nootan.ghimire
http://hg.mozilla.org/releases/l10n/mozilla-aurora/ne-NP/rev/58a5d17ab177
(and nice fixing also the other error)
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
(In reply to Francesco Lodolo [:flod] from comment #3)
> http://hg.mozilla.org/releases/l10n/mozilla-aurora/ne-NP/rev/58a5d17ab177
> (and nice fixing also the other error)

Actually, I doubt that x-western is correct for your locale. You need to pick from
http://mxr.mozilla.org/mozilla/source/browser/components/preferences/fonts.xul#92

And for Nepali the right choice is probably x-devanagari?
(Assignee)

Comment 5

2 years ago
@flod , I guess we are not supposed to change the "value"s ?

For Nepali, the right choice is x-devanagari . Do you mean that I should translate x-western to x-devanagari ?
(In reply to nootan.ghimire from comment #5)
> @flod , I guess we are not supposed to change the "value"s ?
> 
> For Nepali, the right choice is x-devanagari . Do you mean that I should
> translate x-western to x-devanagari ?

See the comment for that string
http://hg.mozilla.org/releases/l10n/mozilla-aurora/ne-NP/file/58a5d17ab177/toolkit/chrome/global/intl.properties#l35

You literally need to put x-devanagari as "translation" for that string (not translate it). It's not really a translation, is a preference.
You should also tweak 'intl.accept_languages' (it's another preference). Right now you're asking websites to give you "en-US" content
http://hg.mozilla.org/releases/l10n/mozilla-aurora/ne-NP/file/58a5d17ab177/toolkit/chrome/global/intl.properties#l33

It should be something like: ne-np, ne, en-us, en

Which means: first give me ne-NP content, if it's not available ne, then en-US, then en.
(Assignee)

Comment 8

2 years ago
Reviewed all strings for intl.properties :) . Corrected two other translations. Should be good now!
You need to log in before you can comment on or make changes to this bug.