<div dir="ltr"><div>I attached 2 files.<br><br></div><div>msgfmtlog.txt - Displays all errors, even the non critical one (these can be fixed with recursive regex operation).<br><br></div><div>msgfmtcrit.txt - Displays only the critical errors (grep -v did the job).<br>

<br></div><div>The commands I used:<br></div><div># recursively find all po files and send then to msgfmt for inspection<br></div><div>find . -name *.po -exec msgfmt -vco /dev/null {} \; >& msgfmtlog.txt <br></div>

<div># filter out all the non critical messages (usefull only in this case) and put them in a file<br>cat msgfmtlog.txt | grep -v 'initial\|translated' > msgfmtcrit.txt<br><br><br></div><div>Kind regards,<br></div>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-size:large"><font color="#990000">Yaron</font><font color="#330000"> Shahrabani</font></span><blockquote style="margin:0 0 0 40px;border:none;padding:0px">

<div><font color="#666666"><span style="font-size:x-small"><font color="#FF0000"><</font></span>Hebrew translator<span style="font-size:x-small"><font color="#FF0000">></font></span></font></div></blockquote></div>
</div>

<br><br><div class="gmail_quote">On Sat, Jul 27, 2013 at 6:10 PM, Zolnai Tamás <span dir="ltr"><<a href="mailto:zolnaitamas2000@gmail.com" target="_blank">zolnaitamas2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra">Yes, gettext may help, to find the problem, but
 the "contains invalid entry" message come from LO specific po checks. 
The LO used po has some additional requirements to meet. If you use 
Pootle, than this problem don't come up, but If you intend to use "Find and 
Replace" in a text editor than you have to be sure that this replacing 
touch only the lines started with "msgstr" and not others.<br><br></div><div class="gmail_extra">Best regards,<br></div>Tamás<div class="gmail_extra"><br><div class="gmail_quote">2013/7/27 Yaron Shahrabani <span dir="ltr"><<a href="mailto:sh.yaron@gmail.com" target="_blank">sh.yaron@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>It's fairly simple, assuming you have the gettext tools installed, if not just send me the file and I'll scan it for you.<br>


<br></div><div>With gettext the command would be: msgfmt -vco /dev/null base.po (in the same dir of course)<br>

</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-size:large"><font color="#990000">Yaron</font><font color="#330000"> Shahrabani</font></span><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px">




<div><font color="#666666"><span style="font-size:x-small"><font color="#FF0000"><</font></span>Hebrew translator<span style="font-size:x-small"><font color="#FF0000">></font></span></font></div></blockquote></div>



</div>

<br><br><div class="gmail_quote"><div><div>On Sat, Jul 27, 2013 at 11:37 AM, Tadele Assefa <span dir="ltr"><<a href="mailto:milkyswd@gmail.com" target="_blank">milkyswd@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>

Dear All,<br>
<br>
After we did a 100%, we decided to change some of owr strings to a  new<br>
terminology. As a result I did a "Find and Replace in All Files" using<br>
Sublime Text 2 to change the terms.<br>
<br>
After this I started building entire LO,(libreoffice-4-1 branch), but it<br>
failed to include the new terms saying invalid entry like<br>
"git/libowin/translations/source/sid/scp2/source/base.po contains invalid<br>
entry".<br>
<br>
<br>
What mistake did I do? How may i resolve this?<br>
</div></div><span><font color="#888888"><span><font color="#888888">--<br>
Regards,*<br>
___________________________<br>
Tadele Assefa***<br>
<br>
--<br>
To unsubscribe e-mail to: <a href="mailto:l10n%2Bunsubscribe@global.libreoffice.org" target="_blank">l10n+unsubscribe@global.libreoffice.org</a><br>
Problems? <a href="http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/" target="_blank">http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/</a><br>
Posting guidelines + more: <a href="http://wiki.documentfoundation.org/Netiquette" target="_blank">http://wiki.documentfoundation.org/Netiquette</a><br>
List archive: <a href="http://listarchives.libreoffice.org/global/l10n/" target="_blank">http://listarchives.libreoffice.org/global/l10n/</a><br>
All messages sent to this list will be publicly archived and cannot be deleted<br>
<br>
</font></span></font></span></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>