ClI tool to fetch the translation on the developer machine from Libraria
The latest builds can be downloaded from Releases
Note for macOS: after downloading the binary file to make it runnable, execute the next command:
xattr -c {path to binary}
This app is a Libraria CLI client that help you to manage your translations just from your terminal. It allows developer to export term translation from the needed project.
Available Commands:
export
Export translation to the file
Export command creates a new or updates exising file by the provided path with the exported project terms translations.
This commands requires to provide:
- the project identificator from Libraria
- the language code from ISO 639 list
- the filename where to export with
{lang}
placeholder, i.e.mydir/{lang}/file.json
. The file extension should be one of:.json
,.xml
,.strings
- the user API key from Libraria user profile
- Install Go 1.20.
- Clone the current repository
- Run from the home project directory
CGO_ENABLED=0 go build ./cmd/libraria
This command will create a binary file for your OS by default.