Project

General

Profile

Download (307 Bytes) Statistics
| Branch: | Tag: | Revision:
require 'fast_gettext'
require 'gettext_i18n_rails'

locale_dir = File.join(File.dirname(__FILE__), '..', '..', 'locale')

FastGettext.add_text_domain 'app', :path => locale_dir, :type => :po
FastGettext.default_available_locales = ['en','ja'] #all you want to allow
FastGettext.default_text_domain = 'app'
(4-4/14)