Skip to content

Translate files using DeepL Translate GitHub Action #35

Translate files using DeepL Translate GitHub Action

Translate files using DeepL Translate GitHub Action #35

Workflow file for this run

name: Translate files using DeepL Translate GitHub Action
on:
workflow_dispatch:
pull_request:
types:
- merged
paths:
- 'locales/en.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Translate locales json
uses: lyqht/[email protected]
with:
target_languages: all
input_file_path: locales/en.json
output_file_name_pattern: locales/{language}.json
deepl_api_key: ${{ secrets.DEEPL_API_KEY }}