<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Bold font on document is reset when using tranlation language]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8380</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8380&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bold font on document is reset when using tranlation language.]]></description>
		<lastBuildDate>Fri, 06 Sep 2019 17:05:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35930#p35930</link>
			<description><![CDATA[<p>Yes, maybe we should use @notrinos solution for the default utf-8 font.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 06 Sep 2019 17:05:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35930#p35930</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35925#p35925</link>
			<description><![CDATA[<p>@joe<br />should default utf-8 font be dejavusans instead of dejavu ? We have no dejavu bold font pack so that reports can show the bold characters</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 06 Sep 2019 14:59:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35925#p35925</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35924#p35924</link>
			<description><![CDATA[<div class="quotebox"><cite>notrinos wrote:</cite><blockquote><p>Try font files attached here, this is the files that I&#039;m using on my system with the same setting without bold issue<br /><a href="https://www.dropbox.com/s/s2tj56yo2qrlbw0/fonts.zip?dl=0">https://www.dropbox.com/s/s2tj56yo2qrlb … s.zip?dl=0</a></p></blockquote></div><p>Notrinos... you are the man! it works!<br />thanks a lot, really really apreciate it.</p><p>Hi kvvaradha,<br />my problem is now fixed with that font file from notrinos, thanks for the heads up.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Fri, 06 Sep 2019 14:52:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35924#p35924</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35923#p35923</link>
			<description><![CDATA[<p>@sikumbang - the translation is&nbsp; always giving some problems. Especially the utf-8 supported languages.&nbsp; </p><p>There are possible fixes. <br />1. Your Linux system must be updated with locale. <br />2. Apache should be enabled with gettext <br />3. Some fa translations are mismatched with strings in fa. Especially I&nbsp; can tell one thing. From login page the password was not fetched the string properly with po file.</p><p>4. There are bugs in translation file as well.&nbsp; Truncate it by removing duplicate entries unnecessary commented lines.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 06 Sep 2019 14:35:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35923#p35923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35922#p35922</link>
			<description><![CDATA[<p>Try font files attached here, this is the files that I&#039;m using on my system with the same setting without bold issue<br /><a href="https://www.dropbox.com/s/s2tj56yo2qrlbw0/fonts.zip?dl=0">https://www.dropbox.com/s/s2tj56yo2qrlb … s.zip?dl=0</a></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 06 Sep 2019 14:03:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35922#p35922</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35921#p35921</link>
			<description><![CDATA[<p>Hi Rafat,<br />so here is content of my installed_language.inc<br /></p><div class="quotebox"><cite>installed_language wrote:</cite><blockquote><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;code&#039; =&gt; &#039;en_US&#039;,<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;Indo&#039;,<br />&nbsp; &nbsp; &#039;path&#039; =&gt; &#039;lang/en_US&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;,<br />&nbsp; &nbsp; &#039;rtl&#039; =&gt; false,<br />&nbsp; &nbsp; &#039;package&#039; =&gt; &#039;&#039;,<br />&nbsp; &nbsp; &#039;version&#039; =&gt; &#039;&#039;,<br />&nbsp; ),<br />&nbsp; 2 =&gt;<br />&nbsp; array (<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;Indonesian&#039;,<br />&nbsp; &nbsp; &#039;package&#039; =&gt; &#039;id_ID&#039;,<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;id_ID&#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/id_ID&#039;,<br />&nbsp; ),<br />);</p><p>$dflt_lang = &#039;id_ID&#039;;</p></blockquote></div><p>location of .po and.mo files is in each language folder <br />/var/www/html/FA/lang/id_ID/LC_MESSAGES<br />/var/www/html/FA/lang/en_US/LC_MESSAGES<br />Linux version ubuntu 18.04 LTS</p><p>Hi Notrinos,<br />Try to put the dejavusans (.php, .z, .ctg.z) and dejavusanb (.php, .z, .ctg.z) files on reporting/fonts then choose Indonesia as the language when opening the invoice it returns TCPDF error: Could not include font definition file: dejavusans.php<br />try tp change the line 160 of class.pdf.inc with dejavusansb it return the same error, <br />if i set to Indo it works, translated correctly with bold text, but the menu and sub menu still in english.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Fri, 06 Sep 2019 13:54:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35921#p35921</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35920#p35920</link>
			<description><![CDATA[<p>Another approach you can do a little modification in the core so that dont need to install language manually, it will works with Indonesian but Im not sure with other languages.<br />Download all dejavusans and dejavusansb font files here then paste into reporting/fonts folder<br /><a href="https://github.com/overblog/tcpdf/tree/master/fonts">https://github.com/overblog/tcpdf/tree/master/fonts</a><br />Replace line 160 of <strong>reporting/includes/class.pdf.inc</strong> with this code:<br /></p><div class="quotebox"><blockquote><p>default :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $fontname = &quot;dejavusans&quot;; &nbsp; &nbsp; &nbsp; &nbsp; break;</p></blockquote></div><p>Now Indonesian language can be used with it&#039;s default encoding utf-8</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 06 Sep 2019 12:50:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35920#p35920</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35918#p35918</link>
			<description><![CDATA[<p>Hi sikumbang,</p><p>I also struggled a lot with Languages.. especially RTL. So its helpful to&nbsp; list your lang/installed_languages.inc (all contents).<br />The location and version&nbsp; of your po and mo files and the OS (Windows, Linux etc..).</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Fri, 06 Sep 2019 10:49:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35918#p35918</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35916#p35916</link>
			<description><![CDATA[<p>Hi Notrinos,</p><p>After restart apache service document go back to english, now only the login page that translated.<br />So i repeat it from the start, delete the code section of en_US in the installed_language.inc, delete the folder en_US, then repeat from the start, but before changing the language to Indo i restart the apache service, result is the same as before, document translated correctly with Bold text, login page also translated correctly but the main menu and sub menu still in English.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Fri, 06 Sep 2019 09:09:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35916#p35916</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35915#p35915</link>
			<description><![CDATA[<p>You may need to restart Apache</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 06 Sep 2019 08:35:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35915#p35915</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35914#p35914</link>
			<description><![CDATA[<p>Hi Notrinos,</p><p>so after i add it manually the language still in English, then i change the default language to Indonesia (not indo) then the document is translated correctly with Bold text, login page also translated correctly, but the main menu and sub menu is still in english.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Fri, 06 Sep 2019 06:45:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35914#p35914</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35913#p35913</link>
			<description><![CDATA[<p>Please add your language manually:</p><p>- Go to Setup/Install Update Languages and check if English (US) already installed then remove it<br />- Manually create an empty folder <strong>lang/en_US/LC_MESSAGES</strong><br />- Press button <strong>Add new language manually</strong> then enter the following parameters:<br /></p><div class="quotebox"><blockquote><p>Language Code: en_US<br />Language Name: Indo<br />Encoding: iso-8859-1<br />Right To Left: No<br />Default Language: No</p></blockquote></div><p>The two file PO, MO please choose the coresponding file in the <strong>lang/id_ID/LC_MESSAGES</strong><br />Click Update then you can go to Preferences then select new added language (Indo)</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Fri, 06 Sep 2019 04:54:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35913#p35913</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35912#p35912</link>
			<description><![CDATA[<div class="quotebox"><cite>notrinos wrote:</cite><blockquote><p>open <strong>lang/installed_languages.inc</strong> find your language array then replace &#039;encoding&#039; =&gt; &#039;utf-8&#039; with &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;</p></blockquote></div><p>Hi Notrinos,</p><p>before i update the encoding, the settings were already in indonesian, after i change the encoding and login to the system language become English eventhough the language in the display settings is Indonesia, i refert back the encoding but still the language stays in English, the language in display settings have no effect even if i change it back and forth from English to indonesia it will stay in English,&nbsp; i must remove the indonesia and reinstall then it go back to normal but still the Bold text did not show.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Fri, 06 Sep 2019 02:13:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35912#p35912</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35909#p35909</link>
			<description><![CDATA[<p>open <strong>lang/installed_languages.inc</strong> find your language array then replace &#039;encoding&#039; =&gt; &#039;utf-8&#039; with &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;<br />In case of Indonesian it will be like this:<br /></p><div class="quotebox"><blockquote><p>array (<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;Indonesian&#039;,<br />&nbsp; &nbsp; &#039;package&#039; =&gt; &#039;id_ID&#039;,<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;id_ID&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;,<br />&nbsp; &nbsp; &#039;version&#039; =&gt; &#039;2.4.1-3&#039;,<br />&nbsp; &nbsp; &#039;path&#039; =&gt; &#039;lang/id_ID&#039;,<br />&nbsp; ),</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Thu, 05 Sep 2019 06:36:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35909#p35909</guid>
		</item>
		<item>
			<title><![CDATA[Bold font on document is reset when using tranlation language]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35908#p35908</link>
			<description><![CDATA[<p>when i use translation language, font on the document no longer Bold, how to fix this?</p><p>example, in invoice on English language the title Item Code, Item Description, Quantity Unit, Price, Discount %, Total, TOTAL INVOICE and amount in words is Bold, but when i use translation language Indonesia installed from the extension, it is no longer bold.</p>]]></description>
			<author><![CDATA[null@example.com (sikumbang)]]></author>
			<pubDate>Thu, 05 Sep 2019 05:59:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35908#p35908</guid>
		</item>
	</channel>
</rss>
