Welcome Guest, Not a member yet? Register   Sign In
CI-Gettext - Another library to use gettext magic
#1

(This post was last modified: 01-28-2017, 04:49 AM by bkader. Edit Reason: Typo! )

Hello guys, I hope you're doing all fine.

I guess this is my first topic so I will try as quick as I can.

I love how CodeIgniter works and I love gettext, together they rock! This is why I made this little library to allow you use gettext magic.

All you have to do is to drop folder into you're CodeIgniter setup (make sure to always backup your files before you do anyting), then auto-load Gettext library inside your autoload.php file. That's all.

You language files should be in MO format and inside language/__language_name__/LC_MESSAGES/__domain__.mo
By default, __domain__ is set to messages.

I hope it'll work for you! Let me know if there is any problem and happy CodeIgniting :p

EDIT
The addin has been updated and it's now 100% working (at least for me). Try it and let me know.
Please report any bugs you may encounter.


--
In case you missed the link: CI-Gettext Github Repository
Follow me on Github, you may find interesting things!
Reply


Messages In This Thread
CI-Gettext - Another library to use gettext magic - by bkader - 09-25-2016, 08:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB