XML translation: string name display
Thread poster: Vladimir Zhdanov

Vladimir Zhdanov
China
Local time: 11:18
Chinese to Russian
+ ...
Apr 13, 2015

Hi everyone

Is there a way to display name of strings within OmegaT interface while working on XML file?
I got a big project here in XML (around 5k strings), and sometimes the meaning of a text is not really clear without having a look on what's the name of the string.

Example:



...
Fire Blade
Fire
...


Things like CrowdIn already have this feature, and I'm sure there must be a way for OmegaT as well.
Any ideas?


Direct link Reply with quote
 

Samuel Murray  Identity Verified
Netherlands
Local time: 05:18
Member (2006)
English to Afrikaans
+ ...
Fix Apr 13, 2015

Vladimir Zhdanov wrote:
Example:


What you wanted us to see (but couldn't, due to an unfixed bug in ProZ.com's forum service):

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
...
<string name="name_of_a_sword">Fire Blade</string>
<string name="button">Fire</string>
...
</resources>


Direct link Reply with quote
 

Didier Briel  Identity Verified
France
Local time: 05:18
Member (2007)
English to French
+ ...
The OmegaT XLIFF filter displays a list of fixed type of strings Apr 13, 2015

Vladimir Zhdanov wrote:
Is there a way to display name of strings within OmegaT interface while working on XML file?

OmegaT has no generic XML filter. Your sample looks like an XLIFF file:
http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html
except the "xliff" tag is missing. What is the format of your document?

I got a big project here in XML (around 5k strings), and sometimes the meaning of a text is not really clear without having a look on what's the name of the string.

Example:

That doesn't look like a standard XLIFF way of providing comments.

Things like CrowdIn already have this feature, and I'm sure there must be a way for OmegaT as well.
Any ideas?

Comments are displayed in the Comments pane. But the OmegaT XLIFF filter can only display "standard" comments: group and trans-unit resname attribute and trans-unit note.

Didier


Direct link Reply with quote
 

Vladimir Zhdanov
China
Local time: 11:18
Chinese to Russian
+ ...
TOPIC STARTER
XLIFF Apr 13, 2015

Didier Briel wrote:


OmegaT has no generic XML filter. Your sample looks like an XLIFF file:
http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html
except the "xliff" tag is missing. What is the format of your document?

That doesn't look like a standard XLIFF way of providing comments.

Comments are displayed in the Comments pane. But the OmegaT XLIFF filter can only display "standard" comments: group and trans-unit resname attribute and trans-unit note.

Didier


Yes, it's a XLIFF file with not-so-good structure (well, thanks to Chinese developers, they don't really like to follow the docs). And I've show you shortened version of it - I keep the whole header and footer of document as is, but just left only two strings.

And the question is: is there a way to display tag content (string name="app_name" part) somewhere in OmegaT interface, just for reference?


Direct link Reply with quote
 

Didier Briel  Identity Verified
France
Local time: 05:18
Member (2007)
English to French
+ ...
Hover over a tag to display it Apr 13, 2015

Vladimir Zhdanov wrote:
And the question is: is there a way to display tag content (string name="app_name" part) somewhere in OmegaT interface, just for reference?

In the Editor, when you hover a shortened tag, the full content of the tag is displayed.

Didier


Direct link Reply with quote
 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


XML translation: string name display

Advanced search






BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search