Hausa translation plugin for WonderCMS
language-hau
Hausa translations for WonderCMS (by shoaiyb sysa)
This plugin adds Hausa translations to the WonderCMS admin area, based on `
github.com` (experimental version).
## How to use
1. Login to your WonderCMS website.
2. Click "Settings" and click "Plugins".
3. Find plugin in the list and click "install".
## How this works
The translations are all in the hau.csv file.
Why in CVS? That's how all
other major CMS's do it, so there must be a good reason for it.
You will see something like this a lot:
```
SECTION NAME
"> Some text","> Your translation"
```
The 'parser' skips all lines that are not equal to two values, so SECTION NAME (contains one value) is skipped.
All the pairs are in the `preg_replace` regex format. That's all this does. The prepending of `>` and `> ` makes sure that we only match the contents of a tag.
This way, `> Security` will match in
```
Security
```
and it won't match in
```
ON (warning: may break your website)
OFF (reset htaccess to default)
```