Language and Translations

BitOwl Application Suit has been designed to be able to be translated. To create a new translation simply create a new file in the languages directory. This file should be a switch statment taking $msg as the argument.

Each case should take a language string (don't translate) and return the translated value for that string. For a list of strings see en_us.php which is the only officially maintained translation. In addition your translation should have a default set to return false.

Plugins may provide additional strings in a lang_[code].php file which is to be formated the same. This file will only be loaded when that module is open in the control panel. This file is optional.