开源软件名称(OpenSource Name):mutoh/locale_rails开源软件地址(OpenSource Url):https://github.com/mutoh/locale_rails开源编程语言(OpenSource Language):Ruby 99.3%开源软件介绍(OpenSource Introduction):¶ ↑Ruby-Locale for Ruby on RailsThis library provides some Rails localized functions. This is useful with Rails i18n backends which doesn't have auto-detection and some other features includes this library. ¶ ↑Features for Ruby on Rails
¶ ↑Website¶ ↑Requirements
¶ ↑Install
¶ ↑Usage¶ ↑config/environment.rbRails::Initializer.run do |config| : : config.gem 'locale' config.gem 'locale_rails' end ¶ ↑config/initializer/locale.rb# Tell the I18n library where to find your translations I18n.supported_locales = ["ja", "en"] I18n.default_locale = "ja" ¶ ↑Support matrix
¶ ↑Tested Ruby version:
¶ ↑LicenseThis program is licenced under the same licence as Ruby(See COPYING) or LGPL(Lesser General Public License: www.gnu.org/licenses/lgpl-3.0.txt). ¶ ↑MaintainerMasao Mutoh <mutomasa at gmail.com> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论