Command-line interface for importing and exporting translations to traduora
TraduoraCLI is a dotnet
tool, meaning you can install it very easily like so:
dotnet tool install --global TraduoraCLI
First of all, you have to log in to your traduora instance:
traduora login -s "https://traduora.example.com" -u [email protected] -p mypassword
The authentication token will then be stored in your user profile directory for future use.
traduora stats -p "ProjectNameOrId"
traduora export -p "ProjectNameOrId" -l en de fr -f jsonnested
traduora import -p "ProjectNameOrId" -l en de fr -f jsonnested
TraduoraCLI takes several optional arguments to modify the way it works. To see a list of all possible verbs and their arguments, simply run
traduora help