<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — PHP Bug #66265 [Com]: gettext is not working anymore (Windows OS).]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7113&amp;type=atom" />
	<updated>2017-11-09T16:07:08Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7113</id>
		<entry>
			<title type="html"><![CDATA[PHP Bug #66265 [Com]: gettext is not working anymore (Windows OS).]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29540#p29540" />
			<content type="html"><![CDATA[<p>If you are running PHP &gt;= 5.5 on Windows OS (WampServer) and you have another language properly installed and having problem shifting to this language you may have run into the PHP Bug #66265 and need to make the following work around:</p><p>OBS. The following operations are only needed if the above criteria is present!!</p><p>1. Find your system locale (in most cases this is en_US).</p><p>If you are unsure which system locale is default on your system, providing you have php &gt;=5.3 installed, place file with following content in webroot directory:<br /></p><div class="codebox"><pre><code>    &lt;?php
    echo locale_get_default();</code></pre></div><p>then point your browser to the file. It will report your system locale.</p><p>2. The FA language files are in /lang/xx_YY/LC_MESSAGES/xx_YY-*.po and xx_YY-*.mo, where xx = language and YY is country, * is optional file version. <br />Copy all installed *.po/*.mo files into your system locale lang folder. F.i. providing your default locale is en_US, copy all the language files to <strong>/lang/en_US/LC_MESSAGES/</strong> folder.</p><p>That&#039;s all. Now language switching should work as expected.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-09T16:07:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29540#p29540</id>
		</entry>
</feed>
