This addon enables Translation on your Lunar Hub.
- Lunar >=
0.6
- Laravel Livewire (if using frontend components)
- Alpinejs (if using frontend components)
- Javascript framework
composer require lunar-translation-manager/addon
php artisan lunar:addons:discover
php artisan migrate
php artisan vendor:publish --tag="translation-config" -force
php artisan vendor:publish --tag="translation-views" -force
Contributions are welcome, if you are thinking of adding a feature, please submit an issue first. So we can determine whether it should be included.
Add all the missing translation keys for all languages or a single language
php artisan lunar:sync-missing-translation-keys {language?}
Synchronize all application translations
php artisan lunar:translations-synchronize