No commit activity in last 3 years
No release in over 3 years
Synchonization server for webtranslateit.com.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.3.1
>= 1.16.2
 Project Readme

Web Translate It Synchronisation Console

Web Translate It

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 wti pull.

Installation

gem install web_translate_it_server

Usage

Go to the directory of the application you want to run the server on and do:

wti-server

By default, it starts an application on localhost on the port 4000. You will find the tool on http://localhost:4000.

Should you need to use another host or port, you can use the -h and -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 .wti file:

before_pull: "echo 'some unix command'"
after_pull:  "touch tmp/restart.txt"

before_pull and after_pull are respectively executed before and after pulling language files.