CodeIgniter Framework translations
Description
Language translations for CodeIgniter Framework 2, powered by Transifex Platform.
Requirements
- CodeIgniter 2
Install
- Download the latest release.
- Unzip that download.
- Rename the resulting folder to
language
. - Then move this folder into your
application
directory (replace files inapplication/language/
as needed on update).
Usage
You just need to set your language in application/config/config.php
.
This translations uses ISO 639-1 code namming standard for languages. So, for example, you must to use 'es'
instead of 'spanish'
:
<?php
# . . .
/*
|--------------------------------------------------------------------------
| Default Language
|--------------------------------------------------------------------------
|
| This determines which set of language files should be used. Make sure
| there is an available translation if you intend to use something other
| than english.
|
*/
$config['language'] = 'es';
# . . .
Contribute
You can help with translations by requesting a new language (or ask for joining to) at https://www.transifex.com/projects/p/ci_translations/
Note: You will need a Transifex account (free).