Skip to content

Commit

Permalink
Fix link after renaming branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Oct 5, 2023
1 parent a31cdec commit 0e5b94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/i18n-l10n/language-negotiation-volto.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Then you need to add the list of supported languages to the `supportedLanguages`

As a last thing, you need to set your site's `defaultLanguage` to one of the `supportedLanguages`.

When all these settings are configured, Volto's [`MultilingualRedirector`](https://github.com/plone/volto/blob/master/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx) will handle the language negotiation and the redirect.
When all these settings are configured, Volto's [`MultilingualRedirector`](https://github.com/plone/volto/blob/main/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx) will handle the language negotiation and the redirect.

In its configuration, the component tries to match the `I18N_LANGUAGE` cookie set in the user's browser with the list of supported languages, and if the match does not succeed, it selects the default language configured in Volto.

Expand Down

0 comments on commit 0e5b94f

Please sign in to comment.