<div dir="ltr"><div>it seems that after running for the first time ./script/pull_ts.sh all the .ts files inside i18t have been deleted due to:<br><br></div>./script/pull_ts.sh<br><div>Pulling new translations...<br>Exception: No user credentials found for host <a href="https://www.transifex.com">https://www.transifex.com</a>. Edit ~/.transifexrc and add the appropriate info in there.<br>Restoring files...<br>Removing temporary files<br><br></div><div>weird (for me) is that if I run git pull the directory remains empty..<br><br></div><div>What I did now is: copy the ts files from another QGIS repository into the "master" repository (the one I use to compile QGIS). Edit the transifexrc file and re-running ./script(pull_ts.sh<br><br></div><div>After a while I receive this error:<br>Updating python translations<br>Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/i386-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at ../scripts/<a href="http://ts2cpp.pl">ts2cpp.pl</a> line 17.<br>BEGIN failed--compilation aborted at ../scripts/<a href="http://ts2cpp.pl">ts2cpp.pl</a> line 17.<br>Removing temporary files<br><br></div><div>And a last question.. I have to run first script/pull_ts.sh and then compile QGIS in order to see the changes, right? Or can I have QGIS compiled and script/pull_ts.sh updates the translations anyway?!<br><br></div><div>Thanks guys<br><br>Matteo<br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 15:58 GMT+01:00 Werner Macho <span dir="ltr"><<a href="mailto:werner.macho@gmail.com" target="_blank">werner.macho@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
Never had this type of error ..<br>
Are you sure you executed the pull_ts.sh script from the root<br>
directory of a git cloned repository?<br>
<br>
./scripts/pull_ts.sh<br>
<br>
otherwise I have no clue what could have happened.. can you join into<br>
the i18n dir and take a look whats inside?<br>
<br>
regards<br>
<span class="HOEnZb"><font color="#888888">Werner<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Feb 18, 2015 at 3:18 PM, Matteo Ghetta <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>> wrote:<br>
> Hi Werner,<br>
> thanks for the reply.<br>
> I have now tx-client installed on my pc, but still problem when running<br>
> ./script/pull_ts.sh<br>
><br>
> Saving translations<br>
> rm: cannot remove ‘i18n/qgis_*.ts’: No such file or directory<br>
> Restoring files...<br>
> Removing temporary files<br>
><br>
><br>
> no idea how to fix this...<br>
><br>
> Thanks<br>
><br>
> Matteo<br>
><br>
> 2015-02-18 10:19 GMT+01:00 Werner Macho <<a href="mailto:werner.macho@gmail.com">werner.macho@gmail.com</a>>:<br>
>><br>
>> Hi Matteo.<br>
>><br>
>> Doing the<br>
>><br>
>> ./scripts/pull_ts.sh<br>
>><br>
>> is the correct way - but the message<br>
>> tx not found only indicates that you are missing the (python) transifex<br>
>> client<br>
>><br>
>> which can be installed as<br>
>> pip install transifex-client<br>
>> IIRC<br>
>><br>
>> hope this helps<br>
>> kind regards<br>
>> Werner<br>
>><br>
>> On Wed, Feb 18, 2015 at 10:13 AM, Matteo Ghetta <<a href="mailto:matteo.ghetta@gmail.com">matteo.ghetta@gmail.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> > I have a simple question, but I cannot deal with this issue.<br>
>> > I'm compiling QGIS, but what should I do in order to update also the<br>
>> > translation?<br>
>> > I tried:<br>
>> ><br>
>> > ./pull_ts.sh<br>
>> ><br>
>> > inside the scripts dir, but I got an error:<br>
>> ><br>
>> > ./pull_ts.sh: line 18: scripts/update_ts.sh: No such file or directory<br>
>> ><br>
>> > so I tried<br>
>> ><br>
>> > ./scripts/pull_ts.sh<br>
>> ><br>
>> > in the main dir of the repo, but I got<br>
>> ><br>
>> > tx not found<br>
>> ><br>
>> ><br>
>> > Am I missing something?<br>
>> ><br>
>> > Thanks to all<br>
>> ><br>
>> > Matteo<br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Qgis-tr mailing list<br>
>> > <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
>> _______________________________________________<br>
>> Qgis-tr mailing list<br>
>> <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-tr mailing list<br>
> <a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a><br>
_______________________________________________<br>
Qgis-tr mailing list<br>
<a href="mailto:Qgis-tr@lists.osgeo.org">Qgis-tr@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-tr" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-tr</a></div></div></blockquote></div><br></div>