Appearance
Localization
Locale Source
The starter kit ships with base locale definitions such as:
enar
Each locale includes:
codenameis_rtl
Runtime Locale Resolution
During boot, the application tries to load locales from the languages table and falls back to the configured defaults when needed.
Language Seeding
LanguageSeeder:
- reads the configured locale definitions
- creates language records
- synchronizes language tokens for each language
Translation Layers
The application uses two translation layers:
Laravel Lang Files
lang/{locale}.jsonlang/{locale}/*.php
Language Tokens
Managed through dashboard language-token workflows.
Language Token Operations
The dashboard includes routes for:
- listing tokens
- editing tokens
- extracting tokens
- translating tokens
- publishing tokens
- reverting tokens
Frontend Translation Build
php artisan dependencies:build generates browser-ready translation files under:
public/assets/dist/translations/en.jspublic/assets/dist/translations/ar.js
Locale Routing
Locale-aware web routes use the configured locale system to keep generated URLs and route defaults consistent.