Giter Club home page Giter Club logo

localeapp-i18n-js's Introduction

Localeapp I18n-js: Iintegrating javascript based front end localizations to the localeapp service.

Build Status

IRC: irc.freenode.net / #axlsx

Git: http://github.com/randym/localeapp-i18n-js

Twitter: https://twitter.com/#!/morgan_randy release announcements and news will be published here

Author: Randy Morgan

Copyright: 2012

License: MIT License

Latest Version: 0.0.1a

Ruby Version: 1.9.2, 1.9.3

Rails Version: > 3.1

Release Date: TBD

Synopsis

Localeapp is a great service for simplifying the localization process for your standard rails app using i18n. It will pick up any missing keys in your local locale files and publish that information so that localizers can easily and rapidly complete localization. However, more and more applications are moving toward emberjs styles of managing the client interface and rely on tools like i18n-js to feed rails localizations to the front end. This gem glues those two things together by posting missing translations found in i18n-js to your localeapp project.

Installation

Add the following to your Gemfile

gem "localeapp-i18n-js", :git => 'git://github.com/randym/localeapp-i18n-js.git'

Configuration

Assuming you have properly configured i18n-js and localeapp, you do not need to configure anything. When Rails is running in development mode all missing translations found by i18n-js will be passed on to the localeapp handlers that normally only pick up on I18n missing translations.

You do, however, need to add this to the end of your application.js

#/app/assets/javascripts/application.js
//= require localeapp-i18n-js

localeapp-i18n-js's People

Contributors

pecha7x avatar

Watchers

James Cloos avatar  avatar

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.