joomla / crowdin-sync
CLI application to synchronize a project with Crowdin
Installs: 4 780
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 12
Forks: 2
Open Issues: 1
Type:project
pkg:composer/joomla/crowdin-sync
Requires
- php: ~5.4|~7.0
- elkuku/crowdin-api: ~1.0
- joomla/application: ~1.6
- joomla/registry: ~1.5
- symfony/yaml: ~2.8|~3.0
This package is auto-updated.
Last update: 2020-06-24 01:38:42 UTC
README
NOTE - This repository has been archived and is no longer supported, the Joomla project has changed its Crowdin integration workflow and maintenance of this tool is no longer necessary
Crowdin Synchronization Script for Joomla! CMS Repositories
This is a simple command line based script allowing Joomla! CMS repositories to synchronize their translations with Crowdin.
Requirements
- PHP 5.4+
- Composer
- An established project on Crowdin
- A
crowdin.yamlfile containing the repository configuration
Installation
To install this project, run the following command:
composer require joomla/crowdin-sync
Usage
To run this script, simply run the following command:
vendor/bin/crowdin
It requires one of two configuration switches:
--downloadto download all translations of this project--uploadto update the source files of this project
Configuration
Several aspects of the script may be configured with switches on the crowdin script, including:
--crowdin-configallows you to specify a custom path to yourcrowdin.yamlfile; this must be relative to the project's root directory and defaults tocrowdin.yamlif not specified--crowdin-projectallows you to specify the project name on Crowdin to connect to and defaults to theproject_identifiervalue from thecrowdin.yamlfile--crowdin-api-keyallows you to specify the API key to use to connect to Crowdin; if this is not set, the environment variable specified byapi_key_envin thecrowdin.yamlfile will be used