Fix lang/README.md formatting for GitLab renderer

This commit is contained in:
ruan 2018-06-10 14:57:55 +02:00
parent ae8f2c574f
commit 0845c19f1c
No known key found for this signature in database
GPG Key ID: 0D2EC1C52E469C0B

View File

@ -1,15 +1,14 @@
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:
```
```
<?php
class Lang {
public function __construct() {
...
}
}
```
- Translate all array assignments, e.g. `$array["title.bans"] = 'Baneos';`
- Edit inc/settings.php, set `this->lang` to your locale. Example: `$this->lang = 'es_ES.utf8';`