Download the PHP package genius-asif/laravel-lang-ai-translate without Composer
On this page you can find all versions of the php package genius-asif/laravel-lang-ai-translate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download genius-asif/laravel-lang-ai-translate
More information about genius-asif/laravel-lang-ai-translate
Files in genius-asif/laravel-lang-ai-translate
Package laravel-lang-ai-translate
Short Description A Laravel package to automate the translation from (en) language files to other languages using LLM APIs.
License MIT
Homepage https://github.com/genius-asif/laravel-lang-ai-translate
Informations about the package laravel-lang-ai-translate
Laravel Language AI Translate
Effortlessly translate your Laravel language files from English to multiple languages using powerful AI APIs like Google Gemini, OpenAI, and DeepSeek. Automate your localization workflow and reach a global audience with ease.
Key Features
- AI-Powered Translation: Leverage the capabilities of Google Gemini, OpenAI, and DeepSeek for accurate and efficient translations.
- Automated Workflow: Simplify your translation process by automating the translation of entire language files.
- Multiple Language Support: Translate to a wide range of languages supported by the integrated AI APIs.
- Easy Integration: Seamlessly integrate into your Laravel project with a simple Artisan command.
- Configurable Providers: Easily switch between different AI translation providers based on your needs and preferences.
Installation
You can install the package via Composer:
Publish the configuration file:
This will create a config/lang-ai-translation.php
file where you can configure your LLM API keys and language settings.
Configuration:
Open the config/lang-ai-translation.php
file and add your API keys for the desired translation providers:
Ensure you add the corresponding API keys to your .env
file.
Usage
Use the following Artisan command to translate your language files:
The command will prompt you to:
- Select the target language.
- Choose the AI translation provider.
The package will then automatically translate your language files from the lang/en
directory to the selected language directory.
Testing
Contributing
We'd love your help making the package even better! Feel free to submit a pull request or open an issue for any enhancements or bug fixes. Everyone's welcome! 🎉
Credits
License
This project is licensed under the MIT License.
All versions of laravel-lang-ai-translate with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0