Translations & RTL Support
SpotVibe comes localized for multiple regions and fully supports RTL (Right-to-Left) languages.
1. Active Languages Management
To enable multi-language options for your frontend users, navigate to Admin Panel Settings > Localization:
- Select the default locale code for primary page loads.
- Toggle active languages from the list of supported locales: English, Spanish, French, Italian, Vietnamese, and Arabic.
2. Adding Custom Translation Keys
To customize strings or translate custom values, edit PHP files within the lang/ directory:
- Core admin labels are found inside:
lang/{locale}/admin.php - Customer portal and booking steps are in:
lang/{locale}/frontend.php
3. Right-to-Left (RTL) Layout support
When Arabic (ar) is chosen by the customer, the frontend dynamically adds the
dir="rtl" attribute to the root wrapper. Tailwind utilities process logical offsets (using
ms- / me- and ps- / pe-) to mirror layout alignments
automatically.