<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8220&amp;type=atom" />
	<updated>2022-09-23T04:39:04Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8220</id>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41484#p41484" />
			<content type="html"><![CDATA[<p>@msuhail197</p><p>This is a very simple thing that should work immediate if all your setup is correct. Mainly utf-8 for English in installed_languages.inc and the default font dejavu&nbsp; mentioned in class.pdf.inc and that the font files are in /reporting/fonts. Thats all. Unless you have /reporting directory somewhere in /company/x that is overriding your changes. So please review your installation.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-23T04:39:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41484#p41484</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41483#p41483" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>You need to change the English encoding to utf-8</p></blockquote></div><p>C&nbsp; &nbsp; English&nbsp; &nbsp; utf-8&nbsp; &nbsp; No&nbsp; &nbsp; Unknown&nbsp; &nbsp; None&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>I have changed the English encoding to utf-8, But even then, writing a note in Urdu when English is the default makes that Urdu question mark in the PDF.</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-22T22:46:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41483#p41483</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41482#p41482" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>You need to change the English encoding to utf-8</p></blockquote></div><p>How can I change it?&nbsp; Please guide me on this.</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-22T16:34:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41482#p41482</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41481#p41481" />
			<content type="html"><![CDATA[<p>You need to change the English encoding to utf-8</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-22T14:40:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41481#p41481</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41479#p41479" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>Can you list here the contents of your /lang/installed_languages.inc</p><p>Also make sure that </p><div class="codebox"><pre><code>                    default :          $fontname = &quot;dejavu&quot;;         break;</code></pre></div><p>is specified as the default font around line 162.</p></blockquote></div><p>My list here the contents of my /lang/installed_languages.inc</p><p>&lt;?php</p><p>/* How to make new entries here for non-packaged languages:</p><p>-- &#039;code&#039; should match the name of the directory for the language under \lang<br />.-- &#039;name&#039; is the name that will be displayed in the language selection list (in Users and Display Setup)<br />-- &#039;rtl&#039; only needs to be set for right-to-left languages like Arabic and Hebrew<br />-- &#039;encoding&#039; used in translation file<br />-- &#039;version&#039; always set to &#039;&#039; for manually installed languages.<br />-- &#039;path&#039; installation path related to FA root (e.g. &#039;lang/en_US&#039;).<br />*/</p><br /><p>$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;iso-8859-1&#039;,<br />&nbsp; ),<br />&nbsp; 1 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;Arabic&#039;,<br />&nbsp; &nbsp; &#039;package&#039; =&gt; &#039;ar_EG&#039;,<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;ar_EG&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;utf-8&#039;,<br />&nbsp; &nbsp; &#039;version&#039; =&gt; &#039;2.4.1-3&#039;,<br />&nbsp; &nbsp; &#039;path&#039; =&gt; &#039;lang/ar_EG&#039;,<br />&nbsp; &nbsp; &#039;rtl&#039; =&gt; true,<br />&nbsp; ),<br />&nbsp; 2 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;Urdu&#039;,<br />&nbsp; &nbsp; &#039;package&#039; =&gt; &#039;ur_PK&#039;,<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;ur_PK&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;utf-8&#039;,<br />&nbsp; &nbsp; &#039;version&#039; =&gt; &#039;2.4.1-3&#039;,<br />&nbsp; &nbsp; &#039;path&#039; =&gt; &#039;lang/ur_PK&#039;,<br />&nbsp; &nbsp; &#039;rtl&#039; =&gt; true,<br />&nbsp; ),<br />);</p><p>$dflt_lang = &#039;C&#039;;</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-22T12:01:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41479#p41479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41477#p41477" />
			<content type="html"><![CDATA[<p>Can you list here the contents of your /lang/installed_languages.inc</p><p>Also make sure that </p><div class="codebox"><pre><code>                    default :          $fontname = &quot;dejavu&quot;;         break;</code></pre></div><p>is specified as the default font around line 162.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-22T02:26:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41477#p41477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41476#p41476" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>Make sure that the language encoding is utf-8 then go:<br />https://frontaccounting.com/wbt/pages/download/downloads-for-release-2.3fonts.php<br />Download and install dejavu font as described in the instructions.</p><p>Also on the same page take a look at the Font Utility Package if you want to use your own fonts.</p></blockquote></div><p>Doing it this way has not solved my problem۔</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-21T21:31:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41476#p41476</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41473#p41473" />
			<content type="html"><![CDATA[<p>Make sure that the language encoding is utf-8 then go:<br />https://frontaccounting.com/wbt/pages/download/downloads-for-release-2.3fonts.php<br />Download and install dejavu font as described in the instructions.</p><p>Also on the same page take a look at the Font Utility Package if you want to use your own fonts.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2022-09-20T06:14:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41473#p41473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41469#p41469" />
			<content type="html"><![CDATA[<p>When English is activated I want to write some reminders in Urdu to explain to some employees who don&#039;t know English.<br />Text is shown as ????????? in PDF.</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-19T23:58:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41469#p41469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41466#p41466" />
			<content type="html"><![CDATA[<p>Can its Noori Nastaliq font for Urdu language be installed in FA?</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-19T22:18:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41466#p41466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=41465#p41465" />
			<content type="html"><![CDATA[<p>When I write a note in Urdu language in FA, it is replaced by question marks in PDF. What is the solution?</p>]]></content>
			<author>
				<name><![CDATA[msuhail197]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45680</uri>
			</author>
			<updated>2022-09-19T22:16:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=41465#p41465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35553#p35553" />
			<content type="html"><![CDATA[<p>Re-reading you may just want this:-<br />There is no css class defined just for this, so you need to add one:-<br /></p><div class="codebox"><pre><code>.repclass tbody tr td a {
    font-size: 12px;
}

Note:- .repclass a {... should work, but not tested</code></pre></div><p>That will do <strong>only</strong> the Reports For Class: list, to change the report classes: list read the following:-</p><p><strong>How do you see what css affects what element on a page?</strong><br />Either press the F12 key OR right-click on page element and select &#039;Inspect&#039;(Chrome) or &#039;Inspect Element&#039;(Firefox) You should now see a panel showing html and another panel showing the relevant css.</p><p>Have a play</p><p>Tips -<br />You can change what you want and instantly see the results(They are not saved, to cancel changes just press page refresh), then make the changes in the css file.<br />In Firefox only (sadly not chrome) if you right-click over an html element(in html panel) select &#039;Copy&#039; then &#039;CSS Path&#039;; paste that into a text editor and you will see the complete css path, shorten as necessary, then use.</p><p>Google &#039;how to use browser developer tools&#039; for more info</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-07-30T20:07:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35553#p35553</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35548#p35548" />
			<content type="html"><![CDATA[<p>Thanks @apmuthu</p><p>I guess you are right with the browser font -/+..but we really need to fix the starting font size.. Its minute with English and with Arabic its minuscule. I looked into the default.css and could not decipher where this font size is defined. I meant when one chooses Reports and Analysis (../reporting/reports_main.php?Class=6)</p><p>Thanks..</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-07-30T11:32:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35548#p35548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35519#p35519" />
			<content type="html"><![CDATA[<p>Most browsers use CTRL +/- to adjust display font size. All reports have font settings tied to column widths.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-07-27T03:31:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35519#p35519</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic and other RTL ( Right to Left)  languages User Interface]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35496#p35496" />
			<content type="html"><![CDATA[<p>@poncho1234</p><p>I am getting there. One last thing .. Where can I change the font size of the Reports and Analysis screens?</p><p>Appreciate your help.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-07-25T07:03:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35496#p35496</id>
		</entry>
</feed>
