<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Po file damage on edit]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6412&amp;type=atom" />
	<updated>2016-08-20T01:52:43Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6412</id>
		<entry>
			<title type="html"><![CDATA[Re: Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26060#p26060" />
			<content type="html"><![CDATA[<p>There is a flag for the <strong>msmerge</strong> utility: &quot;--no-location&quot; which uniformly strips the file and line references in the output.</p><p>If you want the file and line number references possibly with no sorting (-s), then reverse the order of the files:<br /></p><div class="codebox"><pre><code>msgmerge empty.po ar_EG-2.3.12-1.po -o ar_EG-2.3.12-2.po</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-08-20T01:52:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26060#p26060</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26049#p26049" />
			<content type="html"><![CDATA[<p>Dear apmuthu<br />thanks for your replay .<br />final po file create without any reference link as sample bellow:<br />//<br />sgid &quot; changed to &quot;<br />msgstr &quot; تغییر به &quot;</p><p>msgid &quot; for item &quot;<br />msgstr &quot; برای کالا &quot;</p><p>msgid &quot;&quot;<br />&quot; is not writable. Change its permissions so it is, then re-run the operation.&quot;<br />msgstr &quot;غیرقابل نوشتن.سطح دسترسی را تغییر دهید و سپس تلاس کنید.&quot;</p><p>msgid &quot;#&quot;<br />msgstr &quot;#&quot;<br />//<br />while the empty file be like :<br />//<br />#: /frontaccounting.php:75<br />#: /frontaccounting.php:76<br />msgid &quot;Main&nbsp; Menu&quot;<br />msgstr &quot;&quot;</p><p>#: /frontaccounting.php:77<br />#: /access/logout.php:21<br />#: /themes/default/renderer.php:72<br />#: /themes/default/renderer.php:84<br />msgid &quot;Logout&quot;<br />msgstr &quot;&quot;</p><p>#: /access/login.php:13<br />#: /access/password_reset.php:13<br />msgid &quot;Restricted access&quot;<br />msgstr &quot;&quot;<br />//<br />---------------------------------------<br />as mater of fact , my po file translate word but i dont know its related to which link.</p>]]></content>
			<author>
				<name><![CDATA[atpersian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=34034</uri>
			</author>
			<updated>2016-08-17T18:30:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26049#p26049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26038#p26038" />
			<content type="html"><![CDATA[<p>You need to use either &quot;-o&quot; or &quot;--output-file=&quot; but not both. Try:</p><div class="codebox"><pre><code>msgunfmt -i ar_EG-2.3.12-1.mo -o ar_EG-2.3.12-1.po
// CRLF =&gt; LF for new .po and for empty.po files
// format and space of msgstr and msgid upto first double quote must be same
msgmerge -s --no-location ar_EG-2.3.12-1.po empty.po -o ar_EG-2.3.12-2.po
// Edit the ar_EG-2.3.12-2.po file and compile
msgfmt ar_EG-2.3.12-2.po -o ar_EG-2.3.12-2.mo</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-08-17T04:30:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26038#p26038</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26031#p26031" />
			<content type="html"><![CDATA[<p>Dear apmuthu<br />thanks for your replay <br />it convert file to po by command &quot;msgunfmt sample.mo -o, --output-file=sample.po&quot;<br />but po file crated not include references link in translate?<br />what can i do?<br />B R</p>]]></content>
			<author>
				<name><![CDATA[atpersian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=34034</uri>
			</author>
			<updated>2016-08-16T17:23:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26031#p26031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26030#p26030" />
			<content type="html"><![CDATA[<p>If you have the .mo file, use msgunfmt to extract back the .po file.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2016-08-16T15:51:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26030#p26030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Po file damage on edit]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=26029#p26029" />
			<content type="html"><![CDATA[<p>Dear All <br />i try to edit my Po file and&nbsp; i have to force stop my ubuntu and shutdown . now after restart i&nbsp; want edit Po file poedit cant edit po file and say it probably corrupted. Po file size show 0 now . while my translation in frontaccounting work normally. <br />is that any way i can recover my Po file ??<br /><img src="https://frontaccounting.com/punbb/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[atpersian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=34034</uri>
			</author>
			<updated>2016-08-16T15:27:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=26029#p26029</id>
		</entry>
</feed>
