Note: Internationalization/localization in Workarea relies heavily on Rails I18n and Mongoid Localization. The preceding links provide excellent explanations of those features, so they are recommended reading.
Rails I18n features are useful even if your app has only a single locale. Use I18n to customize static text strings, such as the content of success, failure, and warning messages.
To use multiple locales, start by configuring locales.
Determining the Current Locale
Workarea determines the current locale by looking for a locale prefix in the request URL.
Given an app with en (default), es, and de locales, the following table demonstrates how each URL maps to a locale.
Help Us Improve this Doc
Was this helpful? Open a GitHub issue to report a problem with this doc, suggest an improvement, or otherwise provide feedback. Thanks!