Set document lang on localization
This commit is contained in:
parent
d5da4e4818
commit
b450365af0
2
app/dist/fix.ie9.js.map
vendored
2
app/dist/fix.ie9.js.map
vendored
File diff suppressed because one or more lines are too long
20
app/dist/index.js
vendored
20
app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
app/dist/index.js.map
vendored
2
app/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
app/dist/style.css
vendored
2
app/dist/style.css
vendored
File diff suppressed because one or more lines are too long
@ -34,6 +34,8 @@ export const onWindowIntl = () => {
|
||||
}
|
||||
}
|
||||
strings = Object.assign(rawMessages["en-US"], strings);
|
||||
// Set html lang attribute
|
||||
document.documentElement.lang = locale;
|
||||
|
||||
let render = () => {
|
||||
const Root = require("./app/containers/Root").default;
|
||||
|
Loading…
Reference in New Issue
Block a user