icingaweb2/application
Johannes Meyer 461b050718 Add locale negotiation to Icinga\Util\Translator
Translator::getPreferredLocaleCode($header) can now be used with the
HTTP "Accept-Language" header to return the best matching locale using
the user's preferations reported by the browser and our available locale
stack. Additionally Translator::getLocale and Translator::getLanguage were
replaced by Translator::splitLocaleCode to provide a more flexible
implemenation in order to identify specific parts of a particular locale or
the current one.

refs #6074
2014-06-25 12:15:41 +02:00
..
clicommands packaging/config: rename ICINGA_APPDIR 2014-06-04 21:11:27 +00:00
controllers ConfigController: notification text fixes 2014-06-25 10:50:31 +02:00
forms Config: Remove path to preferences INI files setting 2014-06-25 11:59:09 +02:00
layouts/scripts Add locale negotiation to Icinga\Util\Translator 2014-06-25 12:15:41 +02:00
locale Added initial pt_BR translation 2014-06-04 22:08:13 +00:00
views error/error: show newlines in exception 2014-06-25 10:01:59 +02:00