eboye/laravel-nova-translation-editor
A Laravel Nova tool for managing translations directly from your admin panel. Browse and edit language files, keep translation keys organized, and streamline multilingual content updates without leaving Nova.
This package adds a Laravel Nova tool for browsing and editing translation strings from the Nova UI. Version 0.0.6 is a small community contribution (PR from @olivM referencing issue #2) and does not introduce breaking changes or new configuration requirements.
composer require eboye/laravel-nova-translation-editor
app/Providers/NovaServiceProvider.php inside tools():
use Eboye\TranslationEditor\TranslationEditor;
public function tools()
{
return [
new TranslationEditor(),
];
}
php artisan optimize:clear
lang/en/auth.php) to confirm read/write access before editing larger files.First use case: open the tool, pick a locale and translation group, change a value, save, and verify the change appears in resources/lang or lang depending on your Laravel version. Because this is a 0.0.x package, treat the public API and UI as unstable.
canSee / canRun gate if only certain admins should edit translations.auth.php, pagination.php, validation.php) or JSON files per domain.php artisan lang:publish. If you publish framework translations, the editor can then manage those files too. Be deliberate about which vendor translation files you expose.0.0.6 is still early. Pin the version in composer.json and review release notes before upgrading. A patch release can contain behaviour changes.php artisan optimize:clear or php artisan cache:clear if changes do not appear immediately.lang/ or resources/lang/. Permission errors are the most common failure mode. Confirm the PHP process can write to the target directory.composer.json constraints against your Nova version. Nova major upgrades often break third-party tools.0.0.6 change is a community bugfix. There is no migration or config change called out, but verify the specific issue if you were affected by it.How can I help you explore Laravel packages today?