jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Pages: [1] 2

Author Topic: Translation per sentence  (Read 19005 times)

PPinto

  • Newbie
  • *
  • Posts: 1
    • View Profile
Translation per sentence
« on: May 26, 2016, 01:50:04 pm »

Hello,

Thank you a lot for this plugin!
I made a website in English and I want to export it and translate to German. I'm using the XLIFF file (.xlf) and when I open the file it appears the HTML tags, is there any software that handles the HTML tags? If so, what's the best one?
And is it possible to translate it per sentence instead of having the whole text?

Thanks in advance,
Pedro Pinto
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #1 on: May 27, 2016, 10:34:33 am »

You are using 2 accounts to ask me two questions?

Anyway about the XLIFF thing, I don't have any translation program my self. But as I read the specs of the XLIFF format a "good" translation program should hand HTML it self. (I didn't wrote a converter for this because I don't have any software using XLIFF, if you have one send it to me).

And no jdiction can't translate per sentence that should be done in the translation software, atm I have no use case for sentence translation.
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #2 on: May 27, 2016, 12:54:55 pm »

Hi Harald. Thanks for your prompt reply. Our client is using MemoQ XLIFF editor.  What he says is:

" I had no problem importing the XLIFF file, from what I can see it is a problem in how the file is generated. You don’t need an XLIFF editor to see this. If you look at the XML in a text editor, then you can see that entire web pages are being packaged as single translation units."

Please let me know your thoughts - should he be using a different editor?

Thanks.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #3 on: May 27, 2016, 01:06:47 pm »

Each content article is saved as its own entity in the XLF file, the html code is included if any.

The free version of MemoQ doesn't support XLIFF...

Maybe you get some screenshots to see where the problem is?
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #4 on: May 27, 2016, 02:20:35 pm »

Thanks for your response - this is what our client says:

"I have the paid version of MemoQ, so that’s not the issue. The problem is that translators work at sentence level. Each translation unit in the XLIFF file should be a single sentence, but they are packaging an entire web page. As I said in the initial query on this, the file should segment (i.e. start a new translation unit) every time it sees certain punctuation i.e. a full stop or colon usually.
 
They say ““Each content article is saved as its own entity in the XLF file“ which seems to suggest there’s a fundamental problem somewhere.
 
If you look at the screen shot below, you can see that “Capabilities” as a heading has segmented as you’d expect, on it’s own row 103 (displayed here in MemoQ) and on the right you can see that MemoQ has been able to match this to the Chinese translation. Below this is the next segment – as you can see it has many sentences concatenated together, meaning the translation tool cannot match the translation against database (it looks for sentences that match, not for entire pages). There should be a new translation unit everywhere the is a full stop or a <br>.
 
Hope this helps illustrate the issue I’m facing."
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #5 on: May 27, 2016, 02:33:26 pm »

So the XLIFF export seams to be useless if the translation software doesn't support html tags...

I know its possible to translate the control codes (in this case html) to something that is understood by xliff but I'm pretty sure I don't have the time for this to write a encode and decoder...

But patches are welcome...
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #6 on: May 27, 2016, 03:10:53 pm »

Hi. Thanks for your reply.  Do you know of any XLIFF translation software packages that do support html tags?   
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #7 on: May 27, 2016, 03:14:38 pm »

No sorry I didn't use them :-(
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #8 on: May 27, 2016, 03:49:17 pm »

Sorry, I'm not clear on your response - has the plugin been tested with XLIFF?  The documentation states that it works with XLIFF...
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #9 on: May 27, 2016, 03:50:48 pm »

It was told me that it works, but not how good.

I would really like to extend the support for this but without testers its not possible.
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #10 on: May 27, 2016, 04:05:10 pm »

Please advise what the solution is for this.  The reason we used jDiction for this project is because it says in the JED and jDiction documentation that XLIFF is supported. If this is not currently the case, then we need to get it working.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #11 on: May 27, 2016, 04:57:22 pm »

You can pay me and I will make a better integration.
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #12 on: May 27, 2016, 05:22:41 pm »

How much would you charge?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translation per sentence
« Reply #13 on: May 27, 2016, 05:33:28 pm »

90 Euro excl tax per Hour, time needed is between 2-4 hours
Logged
Joomla! 5.0 Release Manager
Vote at JED

cliverethman

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Translation per sentence
« Reply #14 on: May 31, 2016, 04:52:39 pm »

OK. I'll discuss with the client and come back to you in the next few days.
Logged
Pages: [1] 2