Crowdin CLI
This tool is being used by ASF developers for synchronization of strings/translations between GitHub and Crowdin. If you're not ASF developer that has access to our localization platform, then you won't find anything interesting here.
Before you begin
-
Make sure that your
crowdin_identity.ymlfile exists - this is the file with login credentials that is not being committed to GitHub. If it doesn't exist yet (e.g. because you've just cloned the repo), create it fromcrowdin_identity_example.ymland fillapi_keythat can be found here. -
Ensure that
crowdincommand is recognized by your OS.
Windows
- Install Java JDK.
- Set JAVA_HOME properly.
- Launch
setup_crowdin.batas administrator. - Open new
cmdprompt and verify thatcrowdin helpindeed works.
Usage
-
archi_upload.ps1for pushing strings to Crowdin. -
archi_download.ps1for downloading translations from Crowdin (typically last commit before release). -
archi_sync.ps1for upload + download (tree sync).