wingu/fluffy-po-robot

Command line tool for POEditor.com

0.10.2 2023-05-10 11:04 UTC

This package is auto-updated.

Last update: 2024-10-10 14:42:32 UTC


README

Run the client

View available commands:

docker run --rm --interactive --tty \
    --user 1000:1000 \
    --volume $PWD:/app \
    wingu/fluffy list

Configuration

Run

docker run --rm --interactive --tty \
    --user 1000:1000 \
    --volume $PWD:/app \
    wingu/fluffy init

to initialize the configuration file in an interactive mode.

Example configuration file (poeditor.yaml):

api_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
project_id: 123456
base_path: relative/path/to/translations
reference_language: en
languages:
    en: en
    de: de
    ro: ro
files:
    - source: validators.en.yaml
      context: validators
      translation: "%original_path%/validators.%language_code%.%file_extension%"