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
| localeJsonSourceName | string | name of JSON translation file nodes that are loaded by `gatsby-source-filesystem` (set by `option.name`). Default is `locale`|
272
-
| localeJsonNodeName | string | name of GraphQL node that holds locale data. Default is `locales`|
273
-
| languages | string[]| supported language keys |
274
-
| defaultLanguage | string | default language when visiting `/page` instead of `/es/page`|
275
-
| redirect | boolean | if the value is `true`, `/` or `/page-2` will be redirected to the user's preferred language router. e.g) `/es` or `/es/page-2`. Otherwise, the pages will render `defaultLangugage` language. Default is `true`|
276
-
| siteUrl | string | public site url, is used to generate language specific meta tags |
277
-
| pages | array | an array of [page options](#page-options) used to modify plugin behaviour for specific pages |
| localeJsonSourceName | string | name of JSON translation file nodes that are loaded by `gatsby-source-filesystem` (set by `option.name`). Default is `locale`|
272
+
| localeJsonNodeName | string | name of GraphQL node that holds locale data. Default is `locales`|
273
+
| languages | string[]| supported language keys |
274
+
| defaultLanguage | string | default language when visiting `/page` instead of `/es/page`|
275
+
| generateDefaultLanguagePage | string | generate dedicated page for default language. e.g) `/en/page`. It is useful when you need page urls for all languages. For example, server-side [redirect](https://www.gatsbyjs.com/docs/reference/config-files/actions/#createRedirect) using `Accept-Language` header. Default is `false`. |
276
+
| redirect | boolean | if the value is `true`, `/` or `/page-2` will be redirected to the user's preferred language router. e.g) `/es` or `/es/page-2`. Otherwise, the pages will render `defaultLangugage` language. Default is `true`|
277
+
| siteUrl | string | public site url, is used to generate language specific meta tags |
278
+
| pages | array | an array of [page options](#page-options) used to modify plugin behaviour for specific pages |
0 commit comments