Test repo to demonstrate localization bug with gatsby-plugin-manifest
.
Netlify demo: https://affectionate-franklin-dc4bfb.netlify.com
Tracking issue: gatsbyjs/gatsby#17255
- Navigate to the Netlify demo (or run
gatsby build && gatsby serve
on the test repo) - Open DevTools and confirm that the manifest in
<head>
ismanifest-en.webmanifest
as expected. - Click on the "Spanish" link to navigate to
/es/
. - See that the manifest is still
manifest-en.webmanifest
rather thanmanifest-es.webmanifest
.
Notes:
In production builds (gatsby build && gatsby serve
), the correct manifest is loaded when the localized page is the initial page or if you refresh on it.
In development builds (gatsby develop
), the correct manifest is never loaded, regardless of whether you refresh or not.