![]() |
09-27-2022, 06:58 AM
(This post was last modified: 09-28-2022, 04:21 AM by kcs. Edit Reason: progress in exploring issue )
Hi everyone,
I followed the excellent localization tutorial https://includebeer.com/en/blog/creating...r-4-part-1 (merci beaucoup Alain) and managed to have everything working on my local machine. I deployed the app to my production server, but there something does not work and I have no idea what I should be checking because I also don't get any error... It looks like lang() does not return the value it should, but only the key?? For example I am getting this: Home.pageTitle Home.pageText instead of their value when I call PHP Code: <?= lang('Home.pageTitle') ?> I have no clue as what I should be checking to fix this... and would appreciate your help. Thanks a lot // Edit I found this thread that gave me hope: https://forum.codeigniter.com/thread-77763.html as my files were as well missing the uppercase first letter... but that's not it yet. I checked my phpinfo, and there is something that might be explaining this – but I have no idea how to solve it: Code: intl Could it be that HTTP input encoding translation => disabled? Quote:I found this thread that gave me hope: https://forum.codeigniter.com/thread-77763.html as my files were as well missing the uppercase first letter... but that's not it yet. It actually was the issue ![]() Sorry for the double thread. Problem solved ![]() |
Welcome Guest, Not a member yet? Register Sign In |