Skip to content

simplelocalize/download

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Download localization files

This Github Action uses official SimpleLocalize CLI.

Learn more: https://simplelocalize.io/docs/integrations/github-actions/

Usage

name: 'My project'
on:
  push:
    branches: [ main, master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Download translations
        uses: simplelocalize/[email protected]
        with:
          apiKey: <YOUR_API_KEY>
          downloadPath: ./{lang}/translations.json
          downloadFormat: single-language-json
          downloadOptions: "ESCAPE_NEW_LINES" # optional
          languageKey: en # optional, it accepts only one language key
          customerId: ikea # optional, it accepts only one customer id