Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove generic locales differentiation page #15007

Open
Tracked by #14229
stephaniehobson opened this issue Aug 23, 2024 · 3 comments
Open
Tracked by #14229

Remove generic locales differentiation page #15007

stephaniehobson opened this issue Aug 23, 2024 · 3 comments

Comments

@stephaniehobson
Copy link
Contributor

stephaniehobson commented Aug 23, 2024

Remove https://www.mozilla.org/locales/ and supporting code.

This page was identified as a candidate for removal in our page audit and we have confirmed it does not serve users or SEO and is safe to remove.

@stephaniehobson stephaniehobson changed the title locales Remove generic locales differentiation page Aug 23, 2024
@stevejalim
Copy link
Collaborator

stevejalim commented Aug 23, 2024

Re "supporting code" -- are we going to continue to serve this as the default page if you do to www.mozilla.org/ with no lang detectable (i.e if you're a search bot)?

IIRC this path was added as a way to surface the same content when you're not a bot

@janbrasna
Copy link
Contributor

janbrasna commented Aug 23, 2024

@stevejalim It's actually not the exact same page (but I'll investigate how much they all have in common under the hood tho…)

There's still a slight difference between / for unset Accept-Language, /404-locale (that looks alike but with different copy), and /locales linked from footer that has the nice separation by regions (:)

(Nonetheless the /locales ended up showing languages not available in prod, like af ach ff son uz xh etc. leading to default anyways, so this "user" page is not actually as useful as the two "system" pages that only offer enabled translations.)

TODO: The offered languages, esp. from the bot/baseline root page, should all be working. I've found some in prod that link to 404 — e.g. Tadjik (Тоҷикӣ) /tg is being offered there, but not working.

I'm currently trying to read up the exact background for all the changes over time… Basically:

@stevejalim
Copy link
Collaborator

Thanks for doing the digging there @janbrasna while I idly checked Github notifications while on PTO ;)

Yeah, / for unset Accept-Language and, related, /404-locale were requested specifically by @a-kyne to ensure that bots got sent to a locale-selection page, rather than forcing them all to en-US.

I forgot that /locales/ is not the same content/purpose as those. As long as the first two links in this reply remain live, I'm happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants