Skip to content

Commit eb91e04

Browse files
committed
Minor grammar and MyST syntax
1 parent 5fc218e commit eb91e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/i18n-l10n/language-negotiation-volto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ myst:
1313

1414
Volto does not rely on the configuration set in Plone's Language Control Panel to handle the redirection from the root of the site to the Language Root Folder.
1515

16-
Volto has in its own configuration a setting stating whether a site is multilingual or not: `isMultilingual`.
16+
Volto has a setting in its own configuration stating whether a site is multilingual or not: `isMultilingual`.
1717

1818
First of all, you need to set that setting to `true`.
1919

2020
Then you need to add the list of supported languages to the `supportedLanguages` setting, and match them with the languages configured in Plone's Language Control Panel.
2121

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

24-
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.
24+
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.
2525

2626
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.
2727

0 commit comments

Comments
 (0)