Skip to content

Send and retrieve your ruby i18n localizations to the Locale translation service

Notifications You must be signed in to change notification settings

jenshz/localeapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocaleApp

Installation

Rails 3

Add the locale_app gem to your Gemfile :


gem 'locale_app', :git => '[email protected]:gems/olba.git'

Configure locale_app with the following code in config/initializers/locale_app.rb :


require 'locale_app/rails'

LocaleApp.configure do |config|
  config.api_key = 'abcdefg1234567890'
end

Rails 2.3

Define locale_app in config/environment.rb :


config.gem 'locale_app', :source => '[email protected]:gems/olba.git' 

Install the gem :


rake gems:install

Configure locale_app with the following code in config/initializers/locale_app.rb :


require 'locale_app/rails'

LocaleApp.configure do |config|
  config.api_key = 'abcdefg1234567890'
end

Automatically pulling translations

In app/controllers/application_controller.rb


before_filter :handle_translation_updates

About

Send and retrieve your ruby i18n localizations to the Locale translation service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%