Skip to content

Translate files using DeepL Translate GitHub Action #41

Translate files using DeepL Translate GitHub Action

Translate files using DeepL Translate GitHub Action #41

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/deepl-translate-github-action@v2.1.0
with:
target_languages: all
input_file_path: locales/en.json
output_file_name_pattern: locales/{language}.json
deepl_api_key: ${{ secrets.DEEPL_API_KEY }}