Gérer sa collection de jeux vidéos, consoles et figurines. Et plus si affinités.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
822B

  1. require "citrine-i18n"
  2. Citrine::I18n.configure do |settings|
  3. # Backend storage (as supported by i18n.cr)
  4. # settings.backend = I18n::Backend::Yaml.new
  5. # Default locale (defaults to "en" and "./src/locales/**/en.yml").
  6. # For a new default locale to be accepted, it must be found by the
  7. # backend storage and reported in "settings.available_locales".
  8. # settings.default_locale = "en"
  9. # Separator between sublevels of data (defaults to '.')
  10. # e.g. I18n.translate("some/thing") instead of "some.thing"
  11. # settings.default_separator = '.'
  12. # Returns the current exception handler. Defaults to an instance of
  13. # I18n::ExceptionHandler.
  14. # settings.exception_handler = ExceptionHandler.new
  15. # The path from where the translations should be loaded
  16. settings.load_path += ["./src/locales"]
  17. end
  18. I18n.init