Once a day, Misty pulls the latest translations in from Transifex. If you are a translator, and you wish to see your translations in NodeBB sooner rather than later, you can do so by running the pull command via the Transifex command line client.
This is the GitHub repository for the transifex client. The easiest way to install it is to run the script, as directed by the repository itself. When installed, it will expose tx as a globally accessible binary.curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
You'll probably have to create an API key for your Transifex account, so the client on your machine can interface with Transifex securely. You can create one here.
The transifex client will check for your token in a couple of places, one of which is ~/.transifexrc. Feel free to create that file with the following content:[https://www.transifex.com] api_hostname = https://api.transifex.com hostname = https://www.transifex.com username = api password = YOURTOKEN rest_hostname = https://rest.api.transifex.com token = YOURTOKEN I am not completely certain whether password is needed, remove that line and see if it still works.
You (probably) do not have to do any further setup. The configuration in NodeBB's root folder is enough for Transifex to connect.Retrieve the latest translations tx pull
There are a couple useful flags you can pass in to this command. You can discover them by passing in --help.-f to force Transifex to overwrite the local file (occasionally the client gets confused over which file is newer, so this flag helps if you are certain) -l to only process a specific language, e.g. tx pull -l tr -r to only process a specific resource, e.g. tx pull -r nodebb.error