Languages
Language Packs allow you to run MojoMotor in a different language.
Installing a Language Pack
- Visit the MojoMotor Languages page and download the appropriate pack. The version of the pack must match the version of MojoMotor you have installed (you can check this by clicking Help in the Mojobar)
- Extract and upload the folder (it should be the name of a language) to system/mojomotor/language.
- The language will be available for Admin users to choose on the Settings tab of the Mojobar.
Note: Some third party addons may not work if you change your language from the default (English). Contact your addon developer to verify language pack compatibility.
Creating a Language Pack
- Duplicate the system/mojomotor/language/english folder.
- Change the name of the duplicated folder to your desired language (e.g. "french" or "spanish").
- Open each of the files in your text editor and you'll see a series of key => value pairs:
- Replace the English value with that of your language. Be sure to remember the comma at the end of the line!
'key' => 'value: This is the English term to be translated',
The following files are from CodeIgniter, and you may be able to find already translated versions on the CodeIgniter Language Translation page:
- calendar_lang.php
- date_lang.php
- db_lang.php
- email_lang.php
- form_validation_lang.php
- ftp_lang.php
- imglib_lang.php
- number_lang.php
- profiler_lang.php
- unit_test_lang.php
- upload_lang.php
Please do not translate license_lang.php. We are currently only able to offer our license in English, so you should include the file unmodified.