Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmmikkel/lokalise-key-push
GitHub Action that pushes new translations keys to Lokalise
https://github.com/dmmikkel/lokalise-key-push
github-action github-actions lokalise
Last synced: about 1 month ago
JSON representation
GitHub Action that pushes new translations keys to Lokalise
- Host: GitHub
- URL: https://github.com/dmmikkel/lokalise-key-push
- Owner: dmmikkel
- Created: 2019-09-26T06:45:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T03:44:06.000Z (about 2 years ago)
- Last Synced: 2024-04-17T04:22:56.418Z (8 months ago)
- Topics: github-action, github-actions, lokalise
- Language: JavaScript
- Size: 8.2 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lokalise-key-push
Lets you automatically push new language keys to your Lokalise.co project.
## How to use
```yaml
name: Push keys to Lokaliseon:
push:
# Only run workflow for pushes to specific branches
branches:
- master
# Only run workflow when matching files are changed
paths:
- 'src/main/resources/*.properties'jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dmmikkel/[email protected]
with:
# Api token for the Lokalise account
# with read/write access to the project
api-token: ${{ secrets.lokalise_token }}
# ID of the project to sync
project-id: 748610715d8afa5681a4b1.23888602
# The relative directory where language files will be found
directory: src/main/resources# Which format to parse (json or properties)
format: properties
# Which platform to push new keys to
platform: web # or android, ios, other
# The filename new keys should be attached to
filename: messages_%LANG_ISO%.properties```
## License
The action is free to use, but the code is copyrighted.