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.
How'd We Do?
Was this article missing something?
Was it not quite what you were looking for?
Do you have suggestions on how we could improve this article or your experience in general?
If so, please take a moment to let us know!
Your invaluable feedback will help everyone better understand the platform!