From 1289b7648214a54bd9433921cd34e4fe7eaa4d95 Mon Sep 17 00:00:00 2001 From: drzax Date: Mon, 7 Jan 2013 17:18:22 +1000 Subject: [PATCH] Correct example for adding a new locale. --- docs/en/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/index.md b/docs/en/index.md index a907dd4..85ec02d 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -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.