Thanks Thomas, that was the problem: wxrc (wx-common package under ubuntu 10.04) was not installed.
I tried to run again extract-messages script before installing wxrc and noticed that the "wxrc not found" error was displayed but the script didn't exit. Here is the output of the command: crist...@cigno:~/hugin/src/hugin/hugin.hg/src/translations$ ./extract- messages.sh Preparing rc files /usr/bin/xgettext /usr/bin/msgmerge ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found ./extract-messages.sh: 17: wxrc: not found Done preparing rc files Filtering out ignored strings Done filtering Extracting messages Done extracting messages Merging translations ./es.po ............................................................. Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 872. ./it.po ..................................................... Letti 1 vecchi + 1 riferimenti, fusi 482, fuzzy 1, persi 5, obsoleti 593. ./hu.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 830. ./sk.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 878. ./cs_CZ.po ....................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 831. ./nl.po ..................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 753. ./fi.po ......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 643. ./en_GB.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 581. ./sl.po ............................................................ Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 744. ./pt_BR.po ....................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 631. ./ca_ES.po ............................................................. Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 840. ./ru.po ......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 895. ./de.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 830. ./sv.po .......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 908. ./zh_TW.po ...................................................... Letti 1 vecchi + 1 riferimenti, fusi 482, fuzzy 1, persi 5, obsoleti 741. ./ja.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 894. ./ko.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 821. ./pl.po ......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 594. ./fr.po .......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 653. ./uk.po ......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 880. ./zh_CN.po ......................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 888. ./bg.po ........................................................... Letti 1 vecchi + 1 riferimenti, fusi 488, fuzzy 0, persi 0, obsoleti 887. Done merging translations Cleaning up Done On 4 Set, 17:08, "T. Modes" <thomas.mo...@gmx.de> wrote: > Hi Cristian, > > On 4 Sep., 12:03, cri <cri.pe...@gmail.com> wrote:> I've to report a strange > behavoir: after running the extract-messages > > script in my local copy of Hugin source I get a Hugin.pot file with > > less than 500 messages while the actual it.po has more than 1000. If I > > merge with the new pot file and compile Hugin, I can only see few > > words translated in Italian throughout the UI but reverting back to > > the old it.po (with 1000+ strings) I can see all strings translated in > > the UI. > > That sounds like a missing program "wxrc". As far as I remember there > should be a security check in "extract-messages" to prevent this case. > Could you try, what happens if you run "wxrc" and "which wxrc" in the > shell? > > Thomas -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx