Automate your common localization tasks such as uploading source files and downloading translations in Go Task
Task is a task runner / build tool that aims to be simpler and easier to use than other alternatives.
Since it's written in Go, Task is just a single binary and has no other dependencies, which means you don't need to mess with any complicated install setups just to use a build tool.
Use Task with Crowdin CLI to automate your common localization tasks such as uploading source files, downloading translations or anything else you can do with Crowdin CLI.
Task can be connected with Crowdin through the Crowdin CLI.
Once installed, you just need to describe your build tasks using a simple YAML schema in a file called Taskfile.yml
. For example, here is a simple example for Docusaurus project:
version: "3"
tasks:
yarn:install:
desc: Setup Docusaurus locally
cmds:
- yarn install
sources:
- package.json
- yarn.lock
crowdin:push:
desc: Upload source files to a Crowdin project
deps: [yarn:install]
cmds:
- npx crowdin push
crowdin:pull:
desc: Download latest translations from Crowdin
deps: [yarn:install]
cmds:
- npx crowdin pull
Then call it by running task crowdin:push
and task crowdin:pull
.
Under the hood it uses the Crowdin CLI, so you will also need a Configuration File inside your project.
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on Mar 30, 2023
Updated on Jul 12, 2024
Published by Community
Identifier:go-task