Translation manager functionality for Lunar.

Installs: 67

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:project

pkg:composer/lunar-translation-manager/addon

0.1.4 2024-02-15 09:18 UTC

This package is auto-updated.

Last update: 2025-09-15 12:35:50 UTC


README

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