<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Language installation]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4905&amp;type=atom" />
	<updated>2015-10-23T11:16:52Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4905</id>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24547#p24547" />
			<content type="html"><![CDATA[<p>Hi Wh_shs<br />In fact, with your post I could solve my problem quickly.<br />Thanks so much.</p>]]></content>
			<author>
				<name><![CDATA[odaio]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20777</uri>
			</author>
			<updated>2015-10-23T11:16:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24547#p24547</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19792#p19792" />
			<content type="html"><![CDATA[<p>Hi Joe,</p><p>I did a clean install &amp; tried the changes one by one, it appears that the only needed change was in the file:</p><p>.\lang\installed_languages.inc</p><p>for the default English language definition (or other extra installed languages where the encoding is not utf8)<br />$installed_languages = array (<br />&nbsp; 0 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;C&#039;,<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;English&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;utf-8&#039;,<br />&nbsp; &nbsp; //iso-8859-1&#039;,<br />&nbsp; ),</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-29T17:14:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19792#p19792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19791#p19791" />
			<content type="html"><![CDATA[<p>I think another technique is to switch $force_utf8 automatically if the user switch to a utf-8 font.</p><p>Or may use another variable $default_encoding &amp; set it to the user selected font encoding &amp; then use that $forced_encoding to set the character encoding in the various parts of FA.</p><p>I think this is a common problem for all utf-8 fonts.</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-28T09:38:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19791#p19791</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19790#p19790" />
			<content type="html"><![CDATA[<p>Good that you solved it. I will have a talk with our chief developer, Janusz, regarding this.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2014-04-28T05:53:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19790#p19790</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19788#p19788" />
			<content type="html"><![CDATA[<p>Hi Joe,</p><p>I solved the problem by doing the following:</p><p>1- downloaded the dejavu font from:<br />&nbsp; &nbsp; <a href="https://frontaccounting.com/wbt/modules/download_gallery/dlc.php?file=57">https://frontaccounting.com/wbt/modules … hp?file=57</a><br />&nbsp; &nbsp; &nbsp;(required in class.pdf.inc&nbsp; )<br />&nbsp; &nbsp; This solved the PDF wrong Arabic characters in English interface<br />2- changed &#039;iso-8859-1&#039;&nbsp; &nbsp;to&nbsp; &nbsp; &#039;utf-8&#039;&nbsp; &nbsp; in some files (see below)</p><p>Now everything works just fine in both Arabic &amp; English interfaces.</p><p>I think these modifications can be applied without breaking the backward compatibility by just using a global setting variable &quot;force_utf-8&quot; which = false by default so that all previous installations work normally &amp; a simple ternary operation (?:)<br />I&#039;m not a PHP programmer but I think we can do:</p><p>this statement in&nbsp; &nbsp; &nbsp;.\install\index.php:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 =&gt; array (&#039;code&#039; =&gt; &#039;C&#039;, &#039;name&#039; =&gt; &#039;English&#039;, &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;));<br />can be written as:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 =&gt; array (&#039;code&#039; =&gt; &#039;C&#039;, &#039;name&#039; =&gt; &#039;English&#039;, &#039;encoding&#039; =&gt; ($force_utf8 ? &#039;utf-8&#039; : &#039;iso-8859-1&#039; ) ));</p><p>The files are (searching for &#039;iso-8859-1&#039;):</p><p>&nbsp; .\install\index.php (1 hit)<br />&nbsp; .\lang\installed_languages.inc (2 hits)<br />&nbsp; .\reporting\includes\class.mail.inc (1 hit)</p><p>Thanks,</p><p>WH</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-27T23:40:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19788#p19788</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19786#p19786" />
			<content type="html"><![CDATA[<p>No, not that I am aware of. You have to use an utf8 font when printing the reports. Make a search about that. I am not in office at present. So couldn&#039;t help you regarding this.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2014-04-26T10:24:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19786#p19786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19785#p19785" />
			<content type="html"><![CDATA[<p>I found an old post about UTF-8 vs ISO support<br />Is there any changes concerning UTF-8 support while maintaining backward compatibility?</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-26T09:10:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19785#p19785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19784#p19784" />
			<content type="html"><![CDATA[<p>A solution is to run the English translation in Utf8 instead of iso-8859-1.</p><p>I guess you can change that in the language install /activate.</p><p>You may also need to change the mysql setup as well.</p><p>Maybe someone can give more advice.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2014-04-26T08:23:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19784#p19784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19783#p19783" />
			<content type="html"><![CDATA[<p>Hi Joe,</p><p>Now I&#039;m having another problem with Arabic chars!<br />I&#039;ve tried to look for it in the forum but couldn&#039;t find any relative post.</p><p>We have the description in Arabic &amp; it is displayed right in the &quot;Arabic&quot; interface but some users like to work with the English interface for FA - when they switch to English interface the Arabic descriptions as:<br />Ø§ÙØ¨ÙÙ<br />instead of:<br />البنك</p><p>Is there a way to make the description fields display the right Arabic even with the English interface?</p><p>Thanks,</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-26T08:17:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19783#p19783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19772#p19772" />
			<content type="html"><![CDATA[<p>No, not really. I tried it myself, and it did not work for me. I cannot recall what was wrong. Using WAMP has never caused any problems.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2014-04-24T20:13:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19772#p19772</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19771#p19771" />
			<content type="html"><![CDATA[<p>I did installed WAMP &amp; it is working - But do we know what is needed for XAMPP to work?</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-24T17:01:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19771#p19771</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19762#p19762" />
			<content type="html"><![CDATA[<p>Glad that you solved it.<br />I use WAMP myself without problems.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2014-04-22T14:01:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19762#p19762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19761#p19761" />
			<content type="html"><![CDATA[<p>Hi again,</p><p>It has something to do with the XAMPP installation!</p><p>I downloaded Server2Go &amp; it is working fine with it!!!</p><p>Thanks,</p><p>WH</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-22T13:10:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19761#p19761</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Language installation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19754#p19754" />
			<content type="html"><![CDATA[<p>Hi All,</p><p>I&#039;ve just installed FA on a local XAMPP to try it before actual usage.</p><p>I need an Arabic front end for one user so I tried to install the AR_EG package from with in FA &quot; Install/Update Languages&quot; - clicking on the disk icon next to &quot;Arabic&quot; but I keep getting: &quot;Could not open&quot;.</p><p>Then I tried to manually install the language so I copied the ar_eg language files in lang\ar_EG\LC_MESSAGES &amp; pointed to the .mo &amp; .po files correctly in the language form but also didn&#039;t work!<br />I get the RTL orientation but not the translated text!</p><p>What is wrong?</p><p>Thanks,</p><p>WH</p>]]></content>
			<author>
				<name><![CDATA[wh_hsn]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19270</uri>
			</author>
			<updated>2014-04-19T19:34:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19754#p19754</id>
		</entry>
</feed>
