i18n.cr
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
- Fork it ( https://github.com/hugoabonizio/i18n/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- hugoabonizio Hugo Abonizio - creator, maintainer
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