Open Bug 1521551 Opened 6 years ago Updated 5 years ago

Updating locale list and redirects for support.mozilla.org to match versions available via https://www.mozilla.org/en-US/firefox/all/

Categories

(support.mozilla.org :: Localization, task, P5)

Tracking

(Not tracked)

People

(Reporter: mdziewonski, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

As a continuation of https://bugzilla.mozilla.org/show_bug.cgi?id=1223889, in order to allow contributing localizers to match support content for Firefox available to users (as per https://www.mozilla.org/firefox/all/), the list of locales at support.mozilla.org's Knowledge Base as open for community contributions will be expanded to include all the following locales:

Arabic - ar
Chinese (Simplified) - zh-CN
Chinese (Traditional) - zh-TW
Czech - cs
Danish - da
Dutch - nl
English (US) - en-US
French - fr
German - de
Greek - el
Hindi (India) - hi-IN
Hungarian - hu
Indonesian - id
Italian - it
Japanese - ja
Javanese - jv
Korean - ko
Polish - pl
Portuguese (Brazilian) - pt-BR
Portuguese (Portugal) - pt-PT
Russian - ru
Spanish (Spain) - es
Sundanese - su
Acholi - ach
Afrikaans - af
Albanian - sq
Aragonese - an
Armenian - hy-AM
Assamese - as
Asturian - ast
Azerbaijani - az
Basque - eu
Belarusian - be
Bengali (Bangladesh) - bn-BD
Bengali (India) - bn-IN
Bosnian - bs
Breton - br
Bulgarian - bg
Burmese - my
Catalan - ca
Corsican - co
Croatian - hr
English (British) - en-GB (redirect to 'en-US')
English (Canadian) - en-CA (redirect to 'en-US')
English (South African) - en-ZA (redirect to 'en-US')
Esperanto - eo
Estonian - et
Finnish - fi
Frisian - fy-NL
Fulah - ff
Gaelic (Scotland) - gd
Galician - gl
Georgian - ka
Guarani - gn
Gujarati (India) - gu-IN
Hebrew - he
Icelandic - is
Interlingua - ia
Irish - ga-IE
Kabyle - kab
Kannada - kn
Kaqchikel - cak
Kazakh - kk
Khmer - km
Latvian - lv
Ligurian - lij
Lithuanian - lt
Lower Sorbian - dsb
Macedonian - mk
Maithili - mai
Malay - ms
Malayalam - ml
Marathi - mr
Nepali - ne-NP
Norwegian (Bokmål) - no
Norwegian (Nynorsk) - no (redirect to 'no')
Occitan (Lengadocian) - oc
Odia - or
Persian - fa
Punjabi (India) - pa-IN
Romanian - ro
Romansh - rm
Serbian - sr
Sinhala - si
Slovak - sk
Slovenian - sl
Songhay - son
Spanish (Argentina) es-AR (redirect to 'es')
Spanish (Chile) - es-CL (redirect to 'es')
Spanish (Mexico) - es-MX (redirect to 'es')
Swedish - sv
Tamil - ta
Telugu - te
Thai - th
Turkish - tr
Ukrainian - uk
Upper Sorbian - hsb
Urdu - ur
Uzbek - uz
Vietnamese - vi
Welsh - cy
Xhosa - xh

Additionally, the fallback locales (https://bugzilla.mozilla.org/show_bug.cgi?id=800880) will be updated to include the following conditional redirects to locales other than English:

an -> es
ast -> es
be -> ru
br -> fr
cak -> es
oc -> fr

As per Patriccollu's request (a Corsican community translator), expanding the fallback locales to include:

co -> fr

As per Safwan's request, this is a more detailed listing of the requested changes. Safwan, please let me know if you need more information. Thank you!

  1. Language list fixes

1.1 Changing locale code 'br-FR' to 'br'

  1. Language list additions

2.1 Adding and enabling locales - both codes and names:

(code) - (English name) - (native name)

an - Aragonese - aragonés
cak - Kaqchikel - Kaqchikel Ch'ab'äl
co - Corsican - corsu
ia - Interlingua - Interlingua
kab - Kabyle - Taqbaylit
lij - Ligurian - ligure
uz - Uzbek - oʻzbek tili

2.2 Enabling already defined locales by adding their codes:

ach
as
ast
be
br
cy
dsb
eo
gd
hy-AM
is
jv
kk
lv
mai
mr
my
oc
or
pa-IN
rm
son
su

  1. Locale list removals

3.1 Removing locales:

bm
ee
ig
ln
sw
ta-LK
tn
wo
yo
zu

  1. Locale fallback / redirects

4.1 Locale fallback:

an -> es
ast -> es
be -> ru
br -> fr
cak -> es
co -> fr
fy-NL -> nl
oc -> fr

4.2 Locale redirects:

en-CA -> en-US
en-GB -> en-US
en-ZA -> en-US
es-AR -> es
es-CL -> es
es-MX -> es

  1. Other changes:

5.1 Disabling the Firefox OS content addition warning

5.2 Disabling the Wiki/FAQ page redirect

Flags: needinfo?(safwan.rahman15)

(In reply to vesper from comment #2)

  1. Locale fallback / redirects

4.1 Locale fallback:

an -> es
ast -> es
be -> ru
br -> fr
cak -> es
co -> fr
fy-NL -> nl
oc -> fr

4.2 Locale redirects:

en-CA -> en-US
en-GB -> en-US
en-ZA -> en-US
es-AR -> es
es-CL -> es
es-MX -> es

I'd like to kindly request addition of the following fallback or redirect as well to address bug 1523590:
crh -> tr

P.S. When trying oc & es-MX just now for a couple of URLs, i haven't noticed a difference in behavior between fallback & redirect. W/o much pondering over, it seems fallback would be slightly better (because
a. it seems to imply a possibility to have a page in crh locale in the long run;
b. it seems to suggest that an HTTP Redirect response (like 301) would be skipped
), but feel free to make a call on one or the other (since you are more familiar with what's going on behind the scene).
P.P.S. My personal opinion would be that
kk -> tr
&
uz -> tr
fallbacks would also make more sense than de-facto en-US fallbacks currently in effect, but please consult those respective teams/maintainers for answer to that point.

Note from Flod in Bug 1523590

"There are locales that will never complete SUMO localization. We should fall back to the first language available in their Acccept-Language (e.g. tr for crh), that's a better experience than a 404."

We should probably implement that behavior by default to avoid anyone to have a 404.

We need to validate whether this is something we still want to do, marking it as P5 for now.

Priority: -- → P5
Flags: needinfo?(safwan.rahman15)
You need to log in before you can comment on or make changes to this bug.