<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — PHP Bug #66265 [Com]: gettext is not working anymore (Windows OS).]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7113</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7113&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PHP Bug #66265 [Com]: gettext is not working anymore (Windows OS)..]]></description>
		<lastBuildDate>Thu, 09 Nov 2017 16:07:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[PHP Bug #66265 [Com]: gettext is not working anymore (Windows OS).]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29540#p29540</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 09 Nov 2017 16:07:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29540#p29540</guid>
		</item>
	</channel>
</rss>
