material-ui
material-ui copied to clipboard
[docs] Disable the translations
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.
On X we have very outdated translations on the pickers that I would also like to remove
@flaviendelangle This is about the translation of the docs rather than the localisation of components.
Yes I am talking about the doc Here is the pr doc for instance
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
Hi @mnajdova When do you think you might be able to get to this?
I can start on it next week. We have it in our roadmap for this quarter, but happy to start with it earlier.