.mo file support in CodeIgniter |
Alright i solved my issue. So what helped me alot was https://stackoverflow.com/questions/1949...le-locales this MoParser class.
I have set up a little helper that is linked to service which has a MoParser Factory attached (so to save memory). Here's the helper: PHP Code: if (! function_exists('l')) And this is the .mo file factory which is called by the helper to return translations. PHP Code: <?php Hope these snippets help anyone stuck with including .mo files! |
Messages In This Thread |
.mo file support in CodeIgniter - by stopz - 05-29-2021, 12:40 AM
RE: .mo file support in CodeIgniter - by InsiteFX - 05-29-2021, 05:15 AM
RE: .mo file support in CodeIgniter - by stopz - 05-29-2021, 07:34 AM
RE: .mo file support in CodeIgniter - by stopz - 05-29-2021, 01:40 PM
RE: .mo file support in CodeIgniter - by InsiteFX - 05-29-2021, 08:56 PM
|