Internationalise your skins by using skin language files.
| General Plugin info | |
|---|---|
| Author: | Armon Toubman |
| Current Version: | 0.51 |
| Code: | NP_Text_code |
| Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?t=14904 |
Requires skin language file (skins/skin/language/language.php) where language is the language set by member, if it is not set it will default to globally set language.
Language file must be of the following form:
<?php define("SL_NAME", "value"); // ... etc. ?>
I (Armon) have chosen SL_ as the prefix because Nucleus internally uses the _WHAT_ prefix (where WHAT can be SKIN, ADMIN, etc.).
If the skin language file is not found no text will be output but an error will be thrown in the Action Log.