Current Page: 1 of 1
Results 1 - 3 of 3
9 years ago
NeoTechni
The code isn't the problem. It's gettext() not loading the locale, and I don't know how to install it. The system works perfectly for en_US, but when I pass it fr_FR it fails. But if you insist: function translate($language, $flushcache = false){ //veritas3-0\webroot\Locale\\LC_MESSAGES will need clearing of duplicate mo files //$language="fr_CA"; putenv("LAN
Forum: WampServer English
9 years ago
NeoTechni
1 - Windows version used (Specify version number AND whether 32 or 64 bit) Windows 7 64 bit 2 - Version WampServer (Specify version number AND whether 32 or 64 bit) WampServer Version 2.5, don't know how many bits 3 - Apache Version 2.4.9 4 - PHP Version 5.5.12 5 - MySQL Version 5.6.17 6 - What color is the WampServer icon (in the notification area of the taskbar) green 7
Forum: WampServer English
9 years ago
NeoTechni
I'm trying to add multi lingual support in PHP. It loads en_US just fine, which doesn't matter since that's what the site was in to begin with. But once I load fr_FR, gettext() returns the text ID instead of the translation. The directory structure isn't the problem.
Forum: WampServer English
Current Page: 1 of 1