Download the PHP package repositoriomaster/laravel-translations without Composer
On this page you can find all versions of the php package repositoriomaster/laravel-translations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download repositoriomaster/laravel-translations
More information about repositoriomaster/laravel-translations
Files in repositoriomaster/laravel-translations
Package laravel-translations
Short Description Laravel Translations UI provides a simple way to manage your translations in your Laravel application. It allows you to add, edit, delete and export translations, and it also provides a search functionality to find translations.
License MIT
Homepage https://github.com/repositoriomaster/laravel-translations
Informations about the package laravel-translations
Credits Original developer:
https://github.com/MohmmedAshraf/laravel-translations
Introduction
Laravel Translations UI package provides a user-friendly interface for managing translations in your Laravel application. It simplifies tasks such as adding, editing, deleting, and exporting translations. The package also includes a handy search feature and the ability to invite collaborators for easy translation management. Currently, the package is integrated with the Google Translate API, allowing you to translate your content into any language of your choice.
📺 Watch a 4-minute video by Povilas Korop showcasing the package.
Install from Scratch
After uninstallation, perform a fresh installation of the package.
Before you can access the translations UI, you'll need to publish the package's assets and migrations files by running the following command:
Usage
To import your translations, run the following command:
To import and overwrite all previous translations, use the following command:
To access the translations UI, visit /translations
in your browser. If you are using a production environment, you will need to create owner user first. To do so, run the following command:
This command will prompt you to enter the user's name, email, and password. Once you have created the owner user, you can log in to the translations UI dashboard and start managing your translations.
Exporting Translations
You can export your translations from the translations UI dashboard or by running the following command:
Configuration
You can configure the package and set your base language by publishing the configuration file:
This will publish the translations.php
configuration file to your config
directory.
Upgrading
When upgrading to a new major version of Laravel Translations UI, it's important that you carefully review the upgrade guide.
In addition, when upgrading to any new Translations UI version, you should re-publish Translations UI assets:
To keep the assets up-to-date and avoid issues in future updates, you may add the translations:publish command to the post-update-cmd scripts in your application's composer.json file:
All versions of laravel-translations with dependencies
brick/varexporter Version ^0.6.0
inertiajs/inertia-laravel Version ^2.0
spatie/laravel-package-tools Version ^1.0
stichoza/google-translate-php Version ^5.0
tightenco/ziggy Version ^2.5
ext-zip Version *