Menu

Commit [r10052]  Maximize  Restore  History

0.12.1dev: enable a default language to be configured in TracIni.

Setting is `[trac] default_language` and the values are the usual Locale keys (e.g. `fr`, `zh_CN`, etc.)

Factor out some of the logic in a `get_negotiated_locale` helper function placed in `trac.util.translation`.

Main part of #8117.

cboos 2010-09-05

changed /branches/0.12-stable/trac/util/translation.py
changed /branches/0.12-stable/trac/web/main.py
/branches/0.12-stable/trac/util/translation.py Diff Switch to side-by-side view
Loading...
/branches/0.12-stable/trac/web/main.py Diff Switch to side-by-side view
Loading...
Auth0 Logo