We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99beb03 commit 2efa4e5Copy full SHA for 2efa4e5
examples/gatsby-starter-default-intl/src/pages/index.js
@@ -8,6 +8,7 @@ const IndexPage = ({ intl }) => {
8
return (
9
<Layout>
10
<SEO
11
+ lang={intl.locale}
12
title={intl.formatMessage({ id: "title" })}
13
keywords={[`gatsby`, `application`, `react`]}
14
/>
examples/gatsby-starter-default-intl/src/pages/page-2.js
@@ -6,7 +6,7 @@ import SEO from "../components/seo"
6
7
const SecondPage = ({ intl }) => (
- <SEO title={intl.formatMessage({ id: "title_page2" })} />
+ <SEO lang={intl.locale} title={intl.formatMessage({ id: "title_page2" })} />
<h1>
<FormattedMessage id="hello_page2" />
</h1>
0 commit comments