habari/habari — Issue #259: Allow the Config object to specify the locale
Author: ringmaster
Created: 2011-12-12 21:33:16+00:00
State: open

When installing Habari or running it generally, it would be useful if the locale could be controlled by a setting in the config file.

Currently, the installer uses the global $locale value (if it is set and uncommented) from the default config.php (if it exists). This is only used by the installer (which then writes it to the database), and not by Habari in-use (which reads the value from the database).

The installer should read the value from a Config setting, ala:
`Config::set( 'locale', '{$locale}' );`

Habari in-use should also check this Config value for the current locale, and override any value set in the database. (This last bit may be a topic of discussion -- please discuss.)