Multilingual Support
WPML integration and locale-aware label resolution
CR Bee Connect supports multilingual WordPress sites. Labels and text shown in the booking flow can be translated per locale.
How It Works
- The plugin reads the current WordPress locale via
get_locale()(e.g.,elfor Greek,en_USfor English) - It passes the locale to the CR Bee API as a
?locale=parameter - The API resolves labels using the label resolution chain:
- Tenant override for the requested locale
- Built-in static translations
- Tenant English override (fallback)
- System defaults
WPML Integration
If you use WPML (or a similar multilingual plugin):
- Each language version of your site calls the API with its own locale
- Labels are resolved per-locale automatically
- Settings responses are cached separately per locale (e.g.,
crbc_settings_en,crbc_settings_el)
No additional WPML configuration is needed in the plugin.
Configuring Translations
Translations are managed in the CR Bee admin dashboard:
- Go to Settings > Labels
- Enable the locales you need
- Switch to each locale tab and customize labels
- Save
See Labels & Translations for details.
Supported Locales
Built-in translations are available for:
- English (en)
- Greek (el)
Additional locales can be supported by providing custom label overrides in the CR Bee admin.