cbi18n
v2.x
Search
⌃K

Installation

Leverage CommandBox to install into your ColdBox application:
# Latest version
install cbi18n
# Bleeding Edge
This module registers the following models in WireBox:

Mixins Helper methods

This module will register the following methods in your handlers/interceptors/layouts/views
  • getFWLocale() gets the users currently set locale (or default locale)
  • setFWLocale() set the locale for a specific user
  • getResource() retrieve a resource from a resource bundle with replacements
  • $r() shortcut/alias to getResource()
  • i18n() gets the i18n Model
  • resourceService() gets the Resource Service

System requirements

  • Lucee 5+
  • Adobe ColdFusion 2016+