https://github.com/simplelocalize/upload
Upload translations files
https://github.com/simplelocalize/upload
actions cli easy-localization github-actions github-actions-i18n github-actions-l10n i18n l10n localization-cli localization-tool react-localization translation-management upload-translations
Last synced: 7 months ago
JSON representation
Upload translations files
- Host: GitHub
- URL: https://github.com/simplelocalize/upload
- Owner: simplelocalize
- Created: 2020-08-02T20:06:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-04T16:08:42.000Z (about 3 years ago)
- Last Synced: 2025-04-03T00:37:56.904Z (7 months ago)
- Topics: actions, cli, easy-localization, github-actions, github-actions-i18n, github-actions-l10n, i18n, l10n, localization-cli, localization-tool, react-localization, translation-management, upload-translations
- Homepage: https://simplelocalize.io/docs/integrations/github-actions/
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upload translation files
This Github Action uses [official SimpleLocalize CLI](https://github.com/simplelocalize/simplelocalize-cli).
Learn more: https://simplelocalize.io/docs/integrations/github-actions/
## Usage
```yml
name: 'My project'
on:
push:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Upload translations
uses: simplelocalize/upload@v2.1
with:
apiKey:
uploadPath: ./{lang}/translations.json
uploadFormat: single-language-json
uploadOptions: "PUBLISH_AFTER_IMPORT,REPLACE_TRANSLATION_IF_FOUND" # optional
languageKey: en # optional, it accepts only one language key
```