bit-mx/statamic-translate-lang-files
Edit Laravel/Statamic language files from the Statamic Control Panel. Browse locales and lang groups, update keys, save back to lang/{locale}/*.php, sync missing keys from a reference locale, optionally refresh caches, invalidate OPcache, and auto-commit to Git.
Statamic utility package to edit Laravel language files from the Control Panel.
composer require bit-mx/statamic-translate-lang-files
php artisan statamic-translate-lang-files:install
No host wiring is required. The package automatically publishes and registers its CP script.
If needed, you can republish assets manually:
php artisan vendor:publish --tag=statamic-translate-lang-files-assets --force
Assign these permissions to the roles that should manage translations:
access translation-manager utilityedit translation managersync translation managerlang/{locale}/*.phpPublish config:
php artisan vendor:publish --tag=statamic-translate-lang-files-config
Main config file: config/statamic-translate-lang-files.php
Useful flags in features:
refresh_caches (true by default)invalidate_opcache (true by default)composer test
or:
./vendor/bin/phpunit
How can I help you explore Laravel packages today?