better locale regex
config processed with ERB, config locales and base_locale documented