material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[docs] Disable the translations

Open mbrookes opened this issue 2 years ago • 3 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Summary 💡

The language menu, redirection, and cookie code should be disabled. At some point we might consider removing the i18n infrastructure.

Examples 🌈

N/A

Motivation 🔦

The two remaining translations (Brazilian Portuguese and Chinese) are at ~25% and declining. We have been unable to attract enough translators to keep up with changes, never mind catch up on the delta to 100%.

Partially translated docs are worse than fully translated. While paying for professional translations might be an option, it would also have an ongoing cost, and it seems unlikely that we would recoup the investment in addition sales.

mbrookes avatar Jul 09 '22 15:07 mbrookes

On X we have very outdated translations on the pickers that I would also like to remove

flaviendelangle avatar Jul 19 '22 14:07 flaviendelangle

@flaviendelangle This is about the translation of the docs rather than the localisation of components.

mbrookes avatar Jul 28 '22 22:07 mbrookes

Yes I am talking about the doc Here is the pr doc for instance

flaviendelangle avatar Aug 08 '22 12:08 flaviendelangle

For the implementation of this, I believe that we will need to:

a. Add 301 for all the URLs that are going to become 404, e.g. https://mui.com/pt/careers/ should be a 301 to https://mui.com/careers/ b. Remove the alternate hrefLang from the <html>, so that we don't instruct bot crawlers to dead ends.

https://github.com/mui/material-ui/blob/ea838244a4217066b1fb80e0933d24a6fe2fe157/docs/src/modules/components/Head.js#L60

c. Remove the automatic locale redirection

https://github.com/mui/material-ui/blob/ea838244a4217066b1fb80e0933d24a6fe2fe157/docs/pages/_app.js#L62

oliviertassinari avatar Aug 19 '22 23:08 oliviertassinari

Hi @mnajdova When do you think you might be able to get to this?

mbrookes avatar Oct 05 '22 16:10 mbrookes

I can start on it next week. We have it in our roadmap for this quarter, but happy to start with it earlier.

mnajdova avatar Oct 14 '22 07:10 mnajdova