Permalink
Browse files

Correct example for adding a new locale.

  • Loading branch information...
1 parent 2720865 commit 1289b7648214a54bd9433921cd34e4fe7eaa4d95 @drzax drzax committed with chillu Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/index.md
View
@@ -444,7 +444,7 @@ The `i18n` logic has lookup tables for common locales in i18n::$common_locales,
If your locale is not present here, you can simply add it through `mysite/_config.php`:
:::php
- i18n::$common_locales['de_AT'] = 'Deutsch (Oestereich)';
+ i18n::$common_locales['de_AT'] = array('German (Austria)', 'Deutsch (Österreich)');
This should e.g. enable you to use `$Locale.Nice` in template code.

0 comments on commit 1289b76

Please sign in to comment.