-
Notifications
You must be signed in to change notification settings - Fork 7k
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
The HTML tag always has lang="en" even if the language in settings is set to a different language #26672
Comments
There has been some tries to fix this in the following PRs:
Please keep those comments in mind when addressing this. |
@larkox I would like to work on this ticket. Can you please assign this to me. |
@sapnasivakumar All yours! Thank you 😄 |
@sapnasivakumar , are you actively monitoring this issue? It has been two weeks since the last comment. |
@fasal26 If @sapnasivakumar doesn't answer in a couple of days, feel free to take it. |
Got it |
@fasal26 I'm having a look at this ticket. |
Sure thing @sapnasivakumar |
@sapnasivakumar hey there, how is it going did u find the issue ? |
@fasal26 I'm on it |
Original ticket: #21552
Summary
The html tag always defines the language of the page to
<html lang="en">
. We want this to be set to the “DefaultClientLocale”, that can be found in the config. If there is no value in the config, we can set it to unknown.The objective of this is so browsers translate the content of the site (the messages in the posts) from the language the server is in theory using.
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-48048
The text was updated successfully, but these errors were encountered: