From 6031097f309eca4795890d90ebe9fc3ff999bd69 Mon Sep 17 00:00:00 2001 From: ruan Date: Sun, 2 Jun 2019 12:41:46 +0200 Subject: [PATCH] Update lang/README.md --- lang/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lang/README.md b/lang/README.md index 27c1b91..b699901 100644 --- a/lang/README.md +++ b/lang/README.md @@ -1,3 +1,10 @@ +To use an existing locale: +- Open `inc/settings.php` with a text editor +- Find the `lang` option and set it to the locale you want to use. +Example: `$this->lang = 'es_ES.utf8';` + +----- + To create a new locale: - Copy lang/en_US.utf8.php to a new file (e.g. `lang/es_ES.utf8.php`) - Edit the new file, change "class DefaultLang" to "class Lang" so it looks like this: