You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building my React app in Japanese. I've found that the built index.html using create-react-app automatically sets html lang attribute to "en". Apparently it's possible to change it by Helmet (ref: https://stackoverflow.com/questions/64260574/change-language-on-main-index-html-with-reactjs). I would do if it's the only option, but I think it's ideal if the functionality exists in create-react-app.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
I'm building my React app in Japanese. I've found that the built index.html using create-react-app automatically sets html lang attribute to "en". Apparently it's possible to change it by Helmet (ref: https://stackoverflow.com/questions/64260574/change-language-on-main-index-html-with-reactjs). I would do if it's the only option, but I think it's ideal if the functionality exists in create-react-app.
Beta Was this translation helpful? Give feedback.
All reactions