i18n.cr

💬 Internationalization (i18n) library for Crystal

I18n.cr

Crystal internationalization (i18n) solution.

Installation

Add this to your application's shard.yml:

dependencies:
  i18n:
    github: hugoabonizio/i18n.cr

Usage

require "i18n"

# Loads ./pt-BR.yml
I18n.locale = :"pt-BR"
puts I18n.t "hello"
# "olá"

Contributing

  1. Fork it ( https://github.com/hugoabonizio/i18n/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

i18n.cr

Owner
Statistic
  • 3
  • 0
  • 1
  • 0
  • 0
  • over 7 years ago
  • October 29, 2016
License

MIT License

Links
Synced at

Thu, 02 May 2024 21:18:37 GMT

Languages