Skip to content

live-codes/lokalise-badge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lokalise-badge

This project is a simple way to display the progress of a lokalise project in a Shields.io badge.

Translated

Languages

Set-up

Fork this repository and add the following secrets to your fork:

  • LOKALISE_API_TOKEN: API token for Lokalise. Read-only access is enough. Please pay attention to the difference between API token and SDK token.
  • LOKALISE_PROJECT_ID: The ID of the Lokalise project you want to track. You can find it in the URL of the project page or in More... -> Settings -> Project ID.

Warning

As described in Github Docs, scheduled workflows are disabled by default for forked repositories. You need to manually enable it in order to make the workflow work.

Then use the raw URL to .json files under badges folder in your fork repo to display them through Endpoint Badge support.

Customization

Edit meta.json if you want to customize the badge content and/or add new badges.

The file is a JSON dictionary with its keys as the badge file name and its values as the badge message. The badge message is a jq string with filter to extract values needed from Lokalise API response.

License

MIT

Disclaimer: This project is not affiliated with Lokalise.

About

Dynamic translation progress badge for Lokalise projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%