GithubHelp home page GithubHelp logo

tr8n's Introduction

Welcome to Tr8n Translation Engine

Tr8n translation engine is a rails engine plugin that provides a framework for crowd-source translations and management of any internationalized text throughout any rails based application. The power of the engine comes from its simple and friendly user interface that allows site users to rapidly translate the site into hundreds of languages. The flexible and robust rules engine that powers Tr8n allows for any combinations of language specific rules in any translatable sentence. Users themselves can provide information on what sentences depend on gender rules, number rules or other types of rules supported by the engine. The language specific rules can be registered and managed for any language in the advanced user interface. The engine also provides a set of powerful admin tools that allow admins to manage any aspect of the engine; enabling and disabling its features and monitoring translation process.

The Tr8n engine itself is based on a very robust and flexible pluggable architecture where rule types and even syntax of the “tr” tokens can be configured or extended for any application deployment.

Tr8n translation engine has been successfully deployed by the following companies:

Geni Inc, www.geni.com

Yammer Inc, www.yammer.com

You can visit their web sites and see how it is being used. If your company is using Tr8n, please let me know and i will add you to the list.

Installation Instructions

Tr8n is mostly self-contained. The only two plugins it depends on are will_paginate created by Mislav Marohnić for results pagination and will_filter created by me for filtering results in the admin interface.

To install the required plugins, run the following commands:

$ script/plugin install git://github.com/mislav/will_paginate.git

$ script/plugin install git://github.com/berk/will_filter.git
$ rake will_filter:sync  
$ rake db:migrate 
$ cd public; ln -s ../vendor/plugins/will_filter/public/wf wf; cd ..;

To install, configure and initialize Tr8n engine, run the following commands:

$ script/plugin install git://github.com/berk/tr8n.git
$ rake tr8n:sync         
$ rake db:migrate 
$ rake tr8n:init
$ cd public; ln -s ../vendor/plugins/tr8n/public/tr8n tr8n; cd ..;

Integration Instructions

The best way to get going with Tr8n is to run it in a stand-alone mode first, try out some translations and then read the specification document, which will guide you on how to integrate Tr8n into your application.

To run Tr8n in a stand-alone mode, run the following commands:

$ git clone git://github.com/berk/tr8n.git
$ cd tr8n
$ rake db:migrate
$ rake tr8n:init
$ script/server

The above commands will create a development sqlite3 database in the db folder of tr8n, init the database and run the local web server. Now you can open your browser and point to:

http://localhost:3000/tr8n

Congratulations! You are now running Tr8n in the stand-alone mode!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.