Re: PHP extension 'gettext' doesn't work?
Daniel Mikusa
Thanks! See comment inline...
On Thu, Oct 1, 2015 at 2:21 AM, Hiroaki Ukaji <dt3snow.w(a)gmail.com> wrote: Hi.I think you need to additionally set an environment variable here. See this note from the PHP docs. Note: Setting a language isn't enough for some systems and the putenv() <http://php.net/manual/en/function.putenv.php> should be used to define the current locale. http://php.net/manual/en/function.gettext.php and the first comment on that page. ex: putenv("LC_ALL=$lang"); setlocale(LC_ALL, $lang); Give that a try and let me know how it goes. Dan <?php
|
|