Closed Bug 1223889 Opened 9 years ago Closed 7 years ago

verify all product locales are covered by Sumo

Categories

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

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mythmon, Assigned: mdziewonski)

References

Details

Attachments

(2 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1223887 +++ Firefox supports a set of locales. It has in-product links to Sumo which include those locales in the url. For locales that Firefox supports that Sumo does not, Sumo kicks up an HTTP 404. For example: https://support.mozilla.org/foo/ This is true for all other products, too: Firefox for Android, Firefox for iOS, Firefox OS, Firefox dev edition and the product that will remain nameless for a while longer. This bug covers finding a source for the master list of locales that our product supports. Once we have that source, we can get the current list. Once we have that, we can see which ones fail on Sumo. Once we have that, we can fix things so everything works. We probably want to do that with redirects or adding those locales to svn or something like that. This bug is a clone of the Input bug for the same task. Sumo can probably mimic whatever Input does here.
The list of product locales is contained in exported JSONs, which can be found https://product-details.mozilla.org/ or https://svn.mozilla.org/libs/product-details/json/.
Here you go with the second step - identifying what leads where: First, alphabetically ;-) - af - https://support.mozilla.org/af/ - ach - resolves to https://support.mozilla.org/en-US/ - ak - resolves to https://support.mozilla.org/en-US/ - am-et - 404 error - an - resolves to https://support.mozilla.org/es/ - ar - https://support.mozilla.org/ar/ - as - resolves to https://support.mozilla.org/en-US/ - az - resolves to https://support.mozilla.org/az/kb/cox-sorusulan-suallar (is enabled, but only with an FAQ page) - be - resolves to https://support.mozilla.org/ru/ - bg - https://support.mozilla.org/bg/ - bm - https://support.mozilla.org/bm/ - bn-BD - https://support.mozilla.org/bn-BD/ - bn-IN - https://support.mozilla.org/bn-IN/ - br - resolves to https://support.mozilla.org/fr/ - brx - 404 error - bs - https://support.mozilla.org/bs/ - ca - https://support.mozilla.org/ca/ - ca-valencia - resolves to https://support.mozilla.org/ca/ - cak - 404 error - cs - https://support.mozilla.org/cs/ - csb - resolves to https://support.mozilla.org/pl/ - cy - 404 error - da - https://support.mozilla.org/da/ - dbg - 404 error - de - https://support.mozilla.org/de/ - de-AT - resolves to https://support.mozilla.org/de/ - de-CH - resolves to https://support.mozilla.org/de/ - de-DE - resolves to https://support.mozilla.org/de/ - dsb - https://support.mozilla.org/dsb/ - ee - https://support.mozilla.org/ee/ - el - https://support.mozilla.org/el/ - en-AU - resolves to https://support.mozilla.org/en-US/ - en-CA - resolves to https://support.mozilla.org/en-US/ - en-GB - resolves to https://support.mozilla.org/en-US/ - en-NZ - resolves to https://support.mozilla.org/en-US/ - en-US - resolves to https://support.mozilla.org/en-US/ - en-ZA - resolves to https://support.mozilla.org/en-US/ - eo - resolves to https://support.mozilla.org/en-US/ - es - https://support.mozilla.org/es/ - es-AR - resolves to https://support.mozilla.org/es/ - es-CL - https://support.mozilla.org/es/ - es-ES - https://support.mozilla.org/es/ - es-MX - https://support.mozilla.org/es/ - et - resolves to https://support.mozilla.org/et/kb/korduma-kippuvad-kusimused (is enabled, but only with an FAQ page) - eu - https://support.mozilla.org/eu/ - fa - https://support.mozilla.org/fa/ - ff - resolves to https://support.mozilla.org/en-US/ - fi - https://support.mozilla.org/fi/ - fj-FJ - 404 error - fr - https://support.mozilla.org/fr/ - fur-IT - 404 error - fy-NL - https://support.mozilla.org/fy-NL/ - ga - https://support.mozilla.org/ga-IE/kb/ceisteanna-coitianta - ga-IE - https://support.mozilla.org/ga-IE/kb/ceisteanna-coitianta - gd - https://support.mozilla.org/en-US/ - gl - https://support.mozilla.org/gl/kb/frequently-asked-questions - gn - 404 error - gu - https://support.mozilla.org/gu-IN/ - gu-IN - https://support.mozilla.org/gu-IN/ - ha - https://support.mozilla.org/ha/ - he - https://support.mozilla.org/he/ - hi - https://support.mozilla.org/hi-IN/ - hi-IN - https://support.mozilla.org/hi-IN/ - hr - https://support.mozilla.org/hr/ - hsb - https://support.mozilla.org/hsb/ - hu - https://support.mozilla.org/hu/ - hy-AM - https://support.mozilla.org/en-US/ - id - https://support.mozilla.org/id/ - ig - https://support.mozilla.org/ig/ - is - https://support.mozilla.org/en-US/ - it - https://support.mozilla.org/it/ - ja - https://support.mozilla.org/ja/ - ja-JP-mac - https://support.mozilla.org/ja/ - ka - 404 error - kk - https://support.mozilla.org/en-US/ - km - https://support.mozilla.org/km/ - kn - https://support.mozilla.org/kn/kb/%E0%B2%B8%E0%B2%BE%E0%B2%AE%E0%B2%BE%E0%B2%A8%E0%B3%8D%E0%B2%AF%E0%B2%B5%E0%B2%BE%E0%B2%97%E0%B2%BF%20%E0%B2%95%E0%B3%87%E0%B2%B3%E0%B2%B2%E0%B2%BE%E0%B2%97%E0%B3%81%E0%B2%B5%20%E0%B2%AA%E0%B3%8D%E0%B2%B0%E0%B2%B6%E0%B3%8D%E0%B2%A8%E0%B3%86%E0%B2%97%E0%B2%B3%E0%B3%81 (is enabled, but only with an FAQ page) - ko - https://support.mozilla.org/ko/ - kok - 404 error - ku - 404 error - ks - 404 error - la - 404 error - lg - https://support.mozilla.org/en-US/ - lij - https://support.mozilla.org/it/ - ln - https://support.mozilla.org/ln/ - lo - 404 error - lt - https://support.mozilla.org/lt/ - ltg - 404 error - lv - 404 error - mai - https://support.mozilla.org/en-US/ - mg - https://support.mozilla.org/mg/ - mi - 404 error - mk - https://support.mozilla.org/mk/ - ml - https://support.mozilla.org/ml/kb/frequently-asked-questions (is enabled, but only with an FAQ page) - mn - https://support.mozilla.org/en-US/ - mr - https://support.mozilla.org/en-US/ - ms - https://support.mozilla.org/en-US/ - my - https://support.mozilla.org/en-US/ - nb-NO - https://support.mozilla.org/no/ - ne-NP - https://support.mozilla.org/ne-NP/ - nn-NO - https://support.mozilla.org/no/ - nl - https://support.mozilla.org/nl - nr - 404 error - nso - https://support.mozilla.org/en-US/ - oc - https://support.mozilla.org/fr/ - or - 404 error - pa - 404 error - pa-IN - https://support.mozilla.org/en-US/ - pl - https://support.mozilla.org/pl/ - pt-BR - https://support.mozilla.org/pt-BR/ - pt-PT - https://support.mozilla.org/pt-PT/ - ro - https://support.mozilla.org/ro/ - rm - https://support.mozilla.org/en-US/ - ru - https://support.mozilla.org/ru/ - rw - https://support.mozilla.org/en-US/ - sa - 404 error - sat - 404 error - sah - https://support.mozilla.org/en-US/ - si - https://support.mozilla.org/si/ - sk - https://support.mozilla.org/sk/ - sl - https://support.mozilla.org/sl/ - son - https://support.mozilla.org/en-US/ - sq - https://support.mozilla.org/sq/ - sr - https://support.mozilla.org/sr/ - sr-Cyrl - https://support.mozilla.org/sr/ - sr-Latn - https://support.mozilla.org/sr/ - ss - 404 error - st - 404 error - sv-SE - https://support.mozilla.org/sv/ - sw - https://support.mozilla.org/sw/ - ta - https://support.mozilla.org/ta/ - ta-IN - https://support.mozilla.org/ta-LK/ - ta-LK - https://support.mozilla.org/ta-LK/ - te - https://support.mozilla.org/te/ - th - https://support.mozilla.org/th/ - tl - 404 error - tn - https://support.mozilla.org/tn/kb/dipotso-tsa-gangwe-le-gape (is enabled, but only with an FAQ page) - tr - https://support.mozilla.org/tr/ - ts - https://support.mozilla.org/th/ - tsz - 404 error - tt-RU - 404 error - uk - https://support.mozilla.org/uk/ - ur - https://support.mozilla.org/ur/ - uz - 404 error - ve - 404 error - vi - https://support.mozilla.org/vi/ - wo - https://support.mozilla.org/wo/ - xh - https://support.mozilla.org/xh/ - yo - https://support.mozilla.org/yo/ - zh-CN - https://support.mozilla.org/zh-CN/ - zh-TW - https://support.mozilla.org/zh-TW/ - zu - https://support.mozilla.org/zu/ Now, by category: 1. Locale has its own version at SUMO - af - https://support.mozilla.org/af/ - ar - https://support.mozilla.org/ar/ - bg - https://support.mozilla.org/bg/ - bm - https://support.mozilla.org/bm/ - bn-BD - https://support.mozilla.org/bn-BD/ - bn-IN - https://support.mozilla.org/bn-IN/ - bs - https://support.mozilla.org/bs/ - ca - https://support.mozilla.org/ca/ - cs - https://support.mozilla.org/cs/ - da - https://support.mozilla.org/da/ - de - https://support.mozilla.org/de/ - dsb - https://support.mozilla.org/dsb/ - ee - https://support.mozilla.org/ee/ - el - https://support.mozilla.org/el/ - es - https://support.mozilla.org/es/ - eu - https://support.mozilla.org/eu/ - fa - https://support.mozilla.org/fa/ - fi - https://support.mozilla.org/fi/ - fr - https://support.mozilla.org/fr/ - fy-NL - https://support.mozilla.org/fy-NL/ - gu-IN - https://support.mozilla.org/gu-IN/ - ha - https://support.mozilla.org/ha/ - he - https://support.mozilla.org/he/ - hi-IN - https://support.mozilla.org/hi-IN/ - hr - https://support.mozilla.org/hr/ - hsb - https://support.mozilla.org/hsb/ - hu - https://support.mozilla.org/hu/ - id - https://support.mozilla.org/id/ - ig - https://support.mozilla.org/ig/ - it - https://support.mozilla.org/it/ - ja - https://support.mozilla.org/ja/ - km - https://support.mozilla.org/km/ - ko - https://support.mozilla.org/ko/ - ln - https://support.mozilla.org/ln/ - lt - https://support.mozilla.org/lt/ - mg - https://support.mozilla.org/mg/ - mk - https://support.mozilla.org/mk/ - nl - https://support.mozilla.org/nl - pl - https://support.mozilla.org/pl/ - pt-BR - https://support.mozilla.org/pt-BR/ - pt-PT - https://support.mozilla.org/pt-PT/ - ro - https://support.mozilla.org/ro/ - ru - https://support.mozilla.org/ru/ - si - https://support.mozilla.org/si/ - sk - https://support.mozilla.org/sk/ - sl - https://support.mozilla.org/sl/ - sq - https://support.mozilla.org/sq/ - sr - https://support.mozilla.org/sr/ - sw - https://support.mozilla.org/sw/ - ta - https://support.mozilla.org/ta/ - ta-LK - https://support.mozilla.org/ta-LK/ - te - https://support.mozilla.org/te/ - th - https://support.mozilla.org/th/ - tr - https://support.mozilla.org/tr/ - uk - https://support.mozilla.org/uk/ - ur - https://support.mozilla.org/ur/ - vi - https://support.mozilla.org/vi/ - wo - https://support.mozilla.org/wo/ - xh - https://support.mozilla.org/xh/ - yo - https://support.mozilla.org/yo/ - zh-CN - https://support.mozilla.org/zh-CN/ - zh-TW - https://support.mozilla.org/zh-TW/ - zu - https://support.mozilla.org/zu/ 2. Locale has a redirect to another locale (not en-US) - an - https://support.mozilla.org/es/ - be - https://support.mozilla.org/ru/ - br - https://support.mozilla.org/fr/ - ca-valencia - https://support.mozilla.org/ca/ - csb - https://support.mozilla.org/pl/ - de-AT - https://support.mozilla.org/de/ - de-CH - https://support.mozilla.org/de/ - de-DE - https://support.mozilla.org/de/ - es-AR - https://support.mozilla.org/es/ - es-CL - https://support.mozilla.org/es/ - es-ES - https://support.mozilla.org/es/ - es-MX - https://support.mozilla.org/es/ - gu - https://support.mozilla.org/gu-IN/ - hi - https://support.mozilla.org/hi-IN/ - ja-JP-mac - https://support.mozilla.org/ja/ - lij - https://support.mozilla.org/it/ - nb-NO - https://support.mozilla.org/no/ - ne-NP - https://support.mozilla.org/ne-NP/ - nn-NO - https://support.mozilla.org/no/ - oc - https://support.mozilla.org/fr/ - sr-Cyrl - https://support.mozilla.org/sr/ - sr-Latn - https://support.mozilla.org/sr/ - sv-SE - https://support.mozilla.org/sv/ - ta-IN - https://support.mozilla.org/ta-LK/ - ts - https://support.mozilla.org/th/ 2. Locale has its own version at SUMO, but has only an FAQ page (and a handful of articles) - az - https://support.mozilla.org/az/kb/cox-sorusulan-suallar - et - https://support.mozilla.org/et/kb/korduma-kippuvad-kusimused - ga - https://support.mozilla.org/ga-IE/kb/ceisteanna-coitianta - ga-IE - https://support.mozilla.org/ga-IE/kb/ceisteanna-coitianta - gl - https://support.mozilla.org/gl/kb/frequently-asked-questions - kn - https://support.mozilla.org/kn/kb/%E0%B2%B8%E0%B2%BE%E0%B2%AE%E0%B2%BE%E0%B2%A8%E0%B3%8D%E0%B2%AF%E0%B2%B5%E0%B2%BE%E0%B2%97%E0%B2%BF%20%E0%B2%95%E0%B3%87%E0%B2%B3%E0%B2%B2%E0%B2%BE%E0%B2%97%E0%B3%81%E0%B2%B5%20%E0%B2%AA%E0%B3%8D%E0%B2%B0%E0%B2%B6%E0%B3%8D%E0%B2%A8%E0%B3%86%E0%B2%97%E0%B2%B3%E0%B3%81 - ml - https://support.mozilla.org/ml/kb/frequently-asked-questions - tn - https://support.mozilla.org/tn/kb/dipotso-tsa-gangwe-le-gape 3. Locale has a redirect to https://support.mozilla.org/en-US/ - ach - ak - as - en-AU - en-CA - en-GB - en-NZ - en-US - en-ZA - eo - ff - gd - hy-AM - is - kk - lg - mai - mn - mr - ms - my - nso - pa-IN - rm - rw - sah - son 4. 404 errors - am-et - brx - cak - cy - dbg - fur-IT - gn - ka - kok - ku - ks - la - lo - ltg - lv - mi - nr - or - pa - sa - sat - ss - st - tl - tsz - tt-RU - uz - ve
Good work! Now we should make sure the last group of 404 languages is being redirected to en-US instead of 404, right?
Flags: needinfo?(mdziewonski)
Yes, that sounds about right. Thanks, Michal!
Flags: needinfo?(mdziewonski)
Cleaning up before the migration. Checking locale coverage and handling on the new platform will be a part of the immediate post-migration review process.
Assignee: nobody → mdziewonski
Status: NEW → ASSIGNED
Flags: needinfo?(mdziewonski)
Blocks: 1350845
Flags: needinfo?(mdziewonski)
Product: support.mozilla.org → support.mozilla.org - Lithium
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Product: support.mozilla.org - Lithium → support.mozilla.org
Attached file list of Firefox languages (obsolete) —
I have used https://product-details.mozilla.org/1.0/firefox_primary_builds.json as a list of languages that ship Firefox. Here is the response code from support.mozilla.org + the redirect URL, if the redirect happens. The problematic languages, that are broken (including Welsh mentioned in dev-l10n) are: > cak 302 https://support.mozilla.org/en-US/cak/ > cy 302 https://support.mozilla.org/en-US/cy/ > gn 302 https://support.mozilla.org/en-US/gn/ > ka 302 https://support.mozilla.org/en-US/ka/ > kab 302 https://support.mozilla.org/en-US/kab/ > lo 302 https://support.mozilla.org/en-US/lo/ > ltg 302 https://support.mozilla.org/en-US/ltg/ > lv 302 https://support.mozilla.org/en-US/lv/ > or 302 https://support.mozilla.org/en-US/or/ > tl 302 https://support.mozilla.org/en-US/tl/ > uz 302 https://support.mozilla.org/en-US/uz/ These should be added to Kitsune as known languages and redirected properly.
For those, who are interested, here is the list of language I have grepped from the json https://gist.github.com/MikkCZ/7b975d018fe05d0153b486e75a1a734b. And here a script to test the SUMO response https://gist.github.com/MikkCZ/22b6cee58af3ff6b41f5e95bf3b67f03. Just run: > bash script.sh languages-list.txt > result.txt
Thanks for this great work Michal. Since we know that this locales need to at least point to the en-US version and not return a 404 can you please update your PR [0] to add all of them to the NON_SUPPORTED_LOCALES list with `None` so they get redirected to en-US? Thanks! [0] https://github.com/mozilla/kitsune/pull/2897
I have scheduled a call with Michał (vesper) later today. I will update the PR after.
Attached file GitHub PR
I have updated the PR to address all the missing locales and redirect them to English (for now) to fix it ASAP. I will later get in touch with all the Firefox translation teams to ask them, if there is any languages that will for better than English for their users.
For TL: - Page Not Found - English is good for fallback (for the time being; until the SUMO pages are fully translated to Tagalog/Filipino). Thank you!
Thank you Giorgos for the review and deploy. I will keep this bug open for a while, until I get feedback from most of the teams involved, whether they want to keep redirect to English or change it to some more suitable language. Robert, thank you for the feedback. The patch is on its place and the in-product links should now work for you. :)
Attached file Follow-up Github PR
So far I have got feedback from Rhoslyn (cy), that English is OK, and from Huber (gn), if we can redirect to Spanish instead. I have opened a new PR, keeping it open and WIP, so we update all possible redirections at once.
Attachment #8889533 - Attachment is obsolete: true
Checking in on this: is https://github.com/mozilla/kitsune/pull/2898 the only outstanding PR to complete the full list that matches Firefox locales?
Flags: needinfo?(mstanke)
Yes. The list is actually complete already. The PR is just about changing the default redirect for gn from English to Spanish.
Flags: needinfo?(mstanke)
HUGE thank to you, Michal, for following up on this, then. I'm closing this out since gn is already safely redirected within SUMO - and the change you're talking about is mostly cosmetic. Kudos to Giorgos for reviews/merges, where applicable. Thanks!
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
(In reply to Michal Stanke (Mozilla.cz) [:MikkCZ] (use needinfo) from comment #18) > Yes. The list is actually complete already. The PR is just about changing > the default redirect for gn from English to Spanish. Merged here https://github.com/mozilla/kitsune/commit/bd0db60e4394619f1e1843bdb4bc7f4b69349ef1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: