Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: i18n - how to translate routes using app directory? #49761

Open
branislavbrincko opened this issue May 13, 2023 · 2 comments
Open

Docs: i18n - how to translate routes using app directory? #49761

branislavbrincko opened this issue May 13, 2023 · 2 comments
Labels
Documentation Related to Next.js' official documentation.

Comments

@branislavbrincko
Copy link

branislavbrincko commented May 13, 2023

What is the improvement or update you wish to see?

The documentation could showcase how to translate routes using app router. For example:

/about
/fr/sur
/de/uber

Is there any context that might help us understand?

There have been lengthy discussions how to implement i18n using new app directory:

Now, there is an official documentation:

But this documentation, as well as the above mentioned discussions, don't include the "final" guide how to implement translation of page names/urls, for example:

/about
/fr/sur
/de/uber

(The documentation contains a link to a "minimal example" as well as a link to the next intl library, but neither of these showcase routes translations.)

As this is the crucial SEO element of any multilingual website, it would be nice if the Next.js provided a more detailed guide how to implement this.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/building-your-application/routing/internationalization

@branislavbrincko branislavbrincko added the Documentation Related to Next.js' official documentation. label May 13, 2023
@branislavbrincko branislavbrincko changed the title Docs: i18n - how to translate routes using app directory Docs: i18n - how to translate routes using app directory? May 13, 2023
@laurenswuyts

This comment has been minimized.

@hendrik244
Copy link

Still nothing new to this? Also facing this and trying to avoid using third party libraries...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

3 participants