This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# I18n class | |
# Allow you to add Internationalization to your CoffeeScript application | |
# | |
# Just call it with a `require 'util/I18n'` or `new I18n` if you don't have a `require` system | |
# More informations here: https://github.com/Tronix117/tradify | |
# Translation files should be saved in `locales/{langage code}.coffee` | |
# | |
# Then you can translate everything with `tr('{0} day', numberOfDay)` | |
# |