POEditor integration on CodeIgniter
Copy all files from application/{config,libraries,controllers,locale} to your projects.
You must edit the application/config/languages.php file and set your API informations (key and project ID).
To extract all strings and sync with POEditor, you must execute this command from shell :
php -q index.php cli translate
You can look the application/controllers/cli.php file and adjust the code based on your own need.
On your scripts, you can use standard gettext tags like :
$string = _("This is a test string");
If you want to use RTL support, it can be simple as :
<body class="navbar-fixed <?php if ($this->languages->isRTL()) { echo 'rtl'; } ?>">