Home > Developers > Wiki > Adding a New Locale
Views


Add your locale

Adding a new locale is a manual process requiring knowledge of SQL and Mifos internals. The code for Mifos itself must be changed. Here is a rough (and incomplete, as of 14-MAY-2008) guide.

  • Add row to country table.
  • Add row to lookup_value table (must be done in a Java-based upgrade since other rows may have been added dynamically, (for instance, salutations) -- highest ID must be derived)
  • Add row to language table, if necessary.
  • Add row to supported_locale table.
  • Add row to currency table, if necessary.
  • If you added a new language, translate resources bundles in src/org/mifos/config/localizedResources.
  • localize language/country-specific JavaScript files

See latest_data.sql for examples of the necessary SQL (near Spanish locale support).


Grameen logo