mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Update lang/README.md
This commit is contained in:
parent
b775163347
commit
6031097f30
@ -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:
|
To create a new locale:
|
||||||
- Copy lang/en_US.utf8.php to a new file (e.g. `lang/es_ES.utf8.php`)
|
- 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:
|
- Edit the new file, change "class DefaultLang" to "class Lang" so it looks like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user