innomatrix / lunar-translation-manager-addon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lunar

This addon enables Translation on your Lunar Hub.

Minimum Requirements

  • Lunar >= 0.6

Optional Requirements

  • Laravel Livewire (if using frontend components)
  • Alpinejs (if using frontend components)
  • Javascript framework

Installation

Require the composer package

composer require lunar-translation-manager/addon

Run artisan

php artisan lunar:addons:discover
php artisan migrate

Publish the config files

php artisan vendor:publish --tag="translation-config" -force

Publish the modify admin header file

php artisan vendor:publish --tag="translation-views" -force

Contributing

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.

Commands

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

About


Languages

Language:PHP 90.5%Language:Blade 9.5%