Enable Frisian (fy) language

VERIFIED FIXED in 1.8

Status

P1
normal
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: wenzel, Assigned: wenzel)

Tracking

Details

(URL)

(Assignee)

Description

8 years ago
Frisian is fully translated, but there's confusion with its locale code.

Verbatim knows it as "fy"
product-details knows it as "fy-NL"
Babel does at least not recognize "fy-NL".

Need to find a way to resolve this.

CCing Wil who might have some insight on the least invasive way to fix this? I assume I can't just change fy_NL to fy in the prod-details lib and call it a day, because it'd mess with Mozilla.com and friends? Have you solved a problem like this on AMO before?
(Assignee)

Updated

8 years ago
Assignee: nobody → fwenzel
(Assignee)

Updated

8 years ago
Target Milestone: --- → 1.8.1
Target Milestone: 1.8.1 → 1.8
(Assignee)

Comment 1

8 years ago
Wim: It seems, the Babel library indeed does not have any information on number/date formats for Frisian :( Do you use the same number conventions (i.e., comma vs. decimal point) and date conventions (dd.mm.yyyy or so) as Dutch? If so, I can probably make it fall back to Dutch for these formats.

Thanks in advance for letting me know.

Comment 2

8 years ago
Fredric, yes they are the same as in Dutch.
Is there a way for me to provide them for you?
Don't hesitate to ask.
(Assignee)

Updated

8 years ago
Blocks: 598029
(Assignee)

Comment 3

8 years ago
I was now able to enable Frisian on stage (by letting Babel fall back to Dutch):

http://github.com/fwenzel/reporter/commit/c392b37

One problem that remains is that Django also does not know the locale, so the "timesince" filter (e.g., "1 week, 2 days ago") just shows English. I filed bug 598029 about that.

By the way, this language will go live in production tomorrow when we push Input 1.8 live.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Given bug 582075 (and that Frisian builds will redirect to /nl/), do we still want to enable this?
Verified FIXED on http://input.stage.mozilla.com/fy-NL/; correct auto-detection is tracked by bug 582075.
Status: RESOLVED → VERIFIED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.