wti-server is a sinatra app you can use to run a friendly web interface to sync your translations. It allows a translation team to refresh the language files on a staging server without asking the developers to manually
gem install web_translate_it_server
Go to the directory of the application you want to run the server on and do:
By default, it starts an application on localhost on the port 4000. You will find the tool on
Should you need to use another host or port, you can use the
-p options. For example:
wti server -p 1234.
You may want to run some commands before or after syncing translations. You can use the hooks to do so. For instance, you could add the following in your
before_pull: "echo 'some unix command'" after_pull: "touch tmp/restart.txt"
after_pull are respectively executed before and after pulling language files.