Gatsby: [www] Use `localizedLink` for all links

Created on 22 Jan 2020  路  5Comments  路  Source: gatsbyjs/gatsby

Description

Now that we are pulling in translations (#19353), we have a localized-link component that routes to the correct locale. I updated some of the links to use it, but the most still use the default gatsby <Link>. We need to change them all to use localized link and lint against the normal <Link>.

help wanted i18n

All 5 comments

Awesome work! I would like to help with this if I can 馃槃 .

should also an update code snippets for the Link imports in the examples in https://www.gatsbyjs.org/contributing/docs-templates/ ?

_PS: Note the PR #21574 feat(docs): Split up Docs Templates into Different Pages) for this page_

I see they are only for general and not for gatsbyjs components

maybe add it here: https://www.gatsbyjs.org/contributing/docs-and-blog-components/ ?

@muescha, I think that's a fair point. Would you mind opening an issue?

added:

  • issue #22446 docs: add section about LocalizedLink

Can this issue be closed now that there is a merged PR for updating links?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustinhorton picture dustinhorton  路  3Comments

ferMartz picture ferMartz  路  3Comments

signalwerk picture signalwerk  路  3Comments

theduke picture theduke  路  3Comments

magicly picture magicly  路  3Comments