Drone plugins > Crowdin
crowdin.svg

Crowdin

by JonasFranzDEV


The Crowdin plugin allows you to submit translation files to Crowdin.

Example

kind: pipeline
name: default

steps:
- name: crowdin
  image: jonasfranz/crowdin
  settings:
    project_identifier: example
    project_key: 1bc29b36f623ba82aaf6724fd3b16718
    files:
      example: options/example.ini
      example2: options/example2.ini

Properties

  • project_identifier

    stringrequired

    Identifier provided by Crowdin.

    Default: none

  • project_key

    stringrequired

    API key provided by Crowdin.

    Secret recommended

    Default: none

  • files

    objectrequired

    Map of translatable files with the Crowdin file name as key and the real filepath as value. The plugin will not upload any files if this list is empty.

    Default: none

  • ignore_branch

    booleanoptional

    It will send the Drone branch to Crowdin if it is false.

    Default: false

  • download

    booleanoptional

    Downloads translated files from Crowdin if it is true.

    Default: true

  • export_dir

    stringoptional

    Export directory of the translated strings.

    Default: none

  • languages

    arrayoptional

    Languages which should be downloaded/exported from Crowdin.

    Default: all