Author Topic: italian translation  (Read 48489 times)

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #15 on: October 08, 2007, 02:32:54 PM »
Committed.  Thanks, our first Qt4 translation!

The next build should have most kinks ironed out.

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #16 on: October 13, 2007, 12:44:32 PM »

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #17 on: October 13, 2007, 04:01:57 PM »
Thanks again zoppo.

Tab names and threading preferences appear to be missing from your ts file.  Running lupdate should fix these.
Quote
lupdate -noobsolete avidemux.pro
You\'ll need to translate some of Qt for the OK/Cancel buttons, etc.  The translation file can be found in Qt\\4.3.2\\translations\\qt_untranslated.ts.  Take a copy of it as qt_it.ts.  QDialogButtonBox and QFileDialog are probably all that is required.  To test, copy the compiled qm file to Avidemux\'s i18n folder.

Everything else should be fixed in r3642.

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #18 on: October 14, 2007, 10:47:11 AM »

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #19 on: October 14, 2007, 12:17:58 PM »
Thanks, committed.

BTW, since you\'re on Windows a build environment is difficult to setup but you can still compile your translation to test it out.  The TS file needs to be tweaked before it is compiled to clean out the Context tag for strings not originating from a .ui file.  This is because at the moment we\'re forcing Qt4 translations to work in a similar way to Gettext to make life easier.  So...

1. Download libxslt from here: http://www.zlatkovic.com/libxml.en.html and unzip it somewhere
2. In Avidemux\'s po directory, run the following commands (or put them in a batch file):
Code: [Select]
c:\\libxslt\\xsltproc qt_filter_context.xslt avidemux_it.ts > avidemux_it.xml
c:\\qt\\4.3.2\\bin\\lrelease avidemux_it.xml -qm avidemux_it.qm
You\'ll need to change the paths according to your setup.

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #20 on: October 16, 2007, 05:25:02 PM »
it worked! :)

there is just a little strange problem (also with svn 3658): if i release the .qm file as you say, the string \"Edit\" in the menubar is not translated.

on the contrary, if i use \'lrelease avidemux_it.ts avidemux_it.qm\' , it si translated (=\"Modifica\").

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #21 on: October 16, 2007, 06:04:38 PM »
Interesting :/

I use Edit as a test at start up.  It\'s translation is logged to stdout.txt.  This must be throwing something off.

I\'ll check it out.

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #22 on: October 16, 2007, 06:27:43 PM »
The translation test was confusing lupdate.  Running lupdate against r3660 should drag the Edit menu back into the TS file correctly and it will work again with the r3658 build.

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #23 on: October 22, 2007, 09:14:32 PM »

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #24 on: October 23, 2007, 06:51:42 PM »
Committed.  Thanks again!

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #25 on: January 26, 2008, 05:11:11 PM »
:cool: here i am with another update (r3767):

http://rapidshare.com/files/86806044/Avidemux_IT.rar.html

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #26 on: January 27, 2008, 07:25:00 PM »
Thanks.  Committed (r3772).

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #27 on: March 10, 2008, 11:27:10 PM »
Italian translation update for r3791-r3833:

http://rapidshare.com/files/98570719/Avidemux_IT.rar.html

messias

  • Newbie
  • *
  • Posts: 6
italian translation
« Reply #28 on: April 10, 2008, 10:13:24 PM »

gruntster

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
    • http://avidemux.razorbyte.com.au
italian translation
« Reply #29 on: April 24, 2008, 06:17:03 PM »
Thanks again Zoppo.