Download the PHP package georgii-web/laravel-crowdin-integration without Composer
On this page you can find all versions of the php package georgii-web/laravel-crowdin-integration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download georgii-web/laravel-crowdin-integration
More information about georgii-web/laravel-crowdin-integration
Files in georgii-web/laravel-crowdin-integration
Package laravel-crowdin-integration
Short Description Automate translations uploading/downloading
License MIT
Informations about the package laravel-crowdin-integration
Laravel-Crowdin Integration
Automate uploading/downloading translations
Installation
Install the package via composer:
By default, the package uses the following environment variables
Config Files
In order to edit the default configuration for this package you may execute:
After that, config/crowdin.php
will be created. Inside this file you will find all the fields that can be edited in this package.
Full scenario
Add/update lang-file from "/resources/lang/en/{file}" to crowdin.com, translate and approve rows there, download translates to the projects "/resources/lang/{language}/{file}".
Commands
Translate and approve it on the crowdin.com
Check translation in "/resources/lang/{language}/default.php"
FYI
If row was deleted in file, after update it'll be deleted in crowdin.com too. Only approved rows wil be downloaded to the project.
Usage
You can see all the commands in the list of command:
Add File
Add a file from project to Crowdin repository:
It is work only for adding file, not for updating
Update File
Update exist file from project to Crowdin repository
It is work only for updating file, not for adding
Upload File
This is command add or update all origin files from a project in Crowdin repository:
No matter file exists or not in Crowdin repository
Build
Build ZIP archive with the latest translations.
Download Files
Download translations files from Crowdin repository to your.
All versions of laravel-crowdin-integration with dependencies
laravel/framework Version ^6.0|^7.0|^8.0
georgii-web/crowdin-api Version ^3.0.1
zanysoft/laravel-zip Version dev-master