Multi-Language (EN/FR)
Serve your site in both English and French. Visitors choose their language via a switcher in the navigation bar, and all CMS content, UI labels, and customer emails adapt automatically.
Enabling French
Go to Admin → Configuration. The Language Settings section at the top of the page has two controls:
- Enable French — toggles whether the French version of your site is accessible. When disabled, all
/fr/URLs redirect to English and the language switcher is hidden. - Default Language — the language visitors see when they first arrive at your site (before choosing). Can be set to English or French (French is only available as the default when French is enabled).
How Locale Routing Works
Public pages are served under a locale prefix: /en/dive/courses or /fr/dive/courses. Visitors who arrive at a URL without a prefix (e.g. /dive/courses) are automatically redirected to the default language.
Admin, instructor, and platform pages are not locale-prefixed and always display in English.
Translating CMS Content
Go to Admin → Content. Each content entry shows side-by-side English and Français editors. Fill in the French column to provide a translation. If a French translation is left blank, the English value is used as a fallback when a visitor browses in French.
The same side-by-side layout appears when adding new content entries. Content keys like home-title, dive-intro, etc. each store both an English value and an optional French value.
UI Labels & Navigation
Built-in UI strings (navigation links, footer text, form labels, buttons) are translated automatically based on the visitor’s current locale. These do not need to be configured in the content editor — they are part of the platform’s translation files.
Emails
Customer-facing emails (booking confirmations, reminders, invoice notifications, etc.) are sent in the recipient’s preferred language. The platform tracks each user’s locale preference based on the language they browse in and uses it when sending emails.
Language Switcher
When French is enabled, a language switcher appears in the navigation bar (desktop and mobile). Clicking it switches between /en/ and /fr/ while staying on the same page. The switcher is automatically hidden when French is disabled.