1 / 16

Translating XML and XLIFF Structured Content

Translating XML and XLIFF Structured Content. XML - a brief definition HTML Limitations XML advantages Web services, .Net and XML XML syntax rules XLIFF Catalyst and XML/XLIFF Workshop. What is XML?. e X tensible M arkup L anguage

willow-beck
Download Presentation

Translating XML and XLIFF Structured Content

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Translating XML and XLIFF Structured Content XML - a brief definition HTML Limitations XML advantages Web services, .Net and XML XML syntax rules XLIFF Catalyst and XML/XLIFF Workshop

  2. What is XML? • eXtensible Markup Language A markup language designed specifically for delivering information over the WWW XML Definition: • Bare-bones syntax • User-defined elements

  3. HTML HTML elements are pre-defined, e.g. • HEAD Heading info, eg page title • TITLE Page title, appears in title bar • BODY Main body of text • H1 Top level heading • H2 Second-level heading • P paragraph of text • UL Unordered list

  4. The GUI is embedded in the data. Searching for information in the data is tough. The data is tied to the logic and language of HTML Browser support issues. <UL> <LI>Gunther Birznieks <UL> <LI>Client ID: 001 <LI>Company: Bob's Fish Store <LI>Email: gunther@bobsfishstore.com <LI>Phone: 662-9999 <LI>Street Address: 1234 4th St. <LI>City: New York <LI>State: New York <LI>Zip: 10024 </UL> <LI>Susan Czigany <UL> <LI>Client ID: 002 <LI>Company: Netscape <LI>Email: susan@eudora.org <LI>Phone: 555-1234 <LI>Street Address: 9876 Hazen Blvd. <LI>City: San Jose LI>State: California <LI>Zip: 90034 </UL> </UL> HTML Limitations

  5. With XML, the GUI is extracted. Searching the data is easy and efficient. Complex relationships like trees and inheritance can be communicated. More legible -- XML is self-describing. <CLIENT> <NAME>GuntherBirznieks</NAME> <ID>001</ID> <COMPANY>Bob's Fish Store</COMPANY> <EMAIL>gunther@bobsfishstore.com </EMAIL> <PHONE>662-9999</PHONE> <STREET>1234 4th St.</STREET> <CITY>New York</CITY> <STATE>New York</STATE> <ZIP>Zip: 10024</ZIP> </CLIENT> <CLIENT> <NAME>Susan Czigany</NAME> <ID>002</ID> <COMPANY>Netscape</COMPANY> <EMAIL>susan@eudora.org</EMAIL> <PHONE>555-1234</PHONE> <STREET>9876 Hazen Blvd.</STREET> <CITY>San Jose</CITY> <STATE>California</STATE> <ZIP>90034</ZIP> </CLIENT> XML

  6. XML Formatting XSL – XML Style Sheets allow you to precisely select the XML data you want to display, to present that data in any order or arrangement, and to freely modify or add information. An XSL stylesheet gives you access to the full formatting and functional richness of HTML, in addition to the data access and transforming features provided by XSL itself

  7. Summary: Advantages of XML • Breaking the Tag Monopoly XML allows each specific industry to develop its own tag sets to meet its unique needs without forcing everyone's browser to incorporate the functionality of millions of tag sets, and without forcing the developers to settle for a generic tag set that is too generic to be useful. e.g. OFX (Open Financial Exchange) MathML, MusicML, CML (Chemical MarkupLanguage) • Moving Beyond Format The real power of XML comes from the fact that with XML, not only can you define your own set of tags, but the rules specified by those tags need not be limited to formatting rules.

  8. Web services and XML A web service is a self-contained "applet" that performs a single task. The component describes its own inputs and outputs in a way that other software can determine what it does, how to invoke its functionality, and what result to expect in return. XML is the widely accepted format for exchanging data and its corresponding semantics. It is the fundamental building block for nearly every other layer in the web services stack. With web services, eBay could syndicate its auction functionality and make it available to other web sites or applications (presumably for a fee).

  9. .Net and web services • Delivering software as a service is the future, and XML is instrumental in making that happen. The .NET Framework is a key part of Microsoft’s developer strategy and is aimed at making it easy for developers to build, deploy, and run Web services.

  10. Extends to MSOffice.... • MAY 25, 2004 -- Expanding on its vision of Office as a front end to business applications, Microsoft Corp. yesterday announced the trial release of a software bundle that allows developers to link business systems to Office applications using Web services. • Its own Microsoft CRM product team is leading the way. By using the Office Information Bridge Framework, Microsoft CRM users can now access customer relationship management data from within Office applications, Microsoft said.

  11. MS Office 2003 XML support • Word    Word now has an XML format called WordML, which appears to preserve almost everything in the .doc format, as well as XSLT support and a toolkit for letting users mark up information for their own schemas. • Excel    Excel builds on its SpreadsheetML format, which supports most Excel content except for charts and VBA. It also provides tools for creating spreadsheets which can import XML document information, making it much easier to separate data and analysis, plus VBA features for working with Web Services. • Access    Access builds on its existing XML support with updated support for W3C XML Schema and XSLT.

  12. XML Syntax Well-formedness rules: • One top-level element (root) • Proper nesting • No omission of end-tag • Start-tag and end-tag must match • Case-sensitive

  13. XLIFF The XML Localisation Interchange File Format is a format developed by a group of localization customers, localization suppliers, and tools vendors, including: Oracle, Novell, IBM/Lotus, Sun MicroSystems, Alchemy  Software, Berlitz, Moravia-IT, and the RWS Group. Purpose: XLIFF is a format to store extracted text and carry the data from one step to another in the localization process.

  14. XML Catalyst workshop Note: elements are completely protected – user cannot accidentally delete any tags Preparation steps using ezParse • Hide tags • Lock tags • Inline tags • Code segments • NavPoints Text segmentation

  15. XML Translation in Catalyst • Catalyst editors • XML toolbar • Import Translations • Validate Expert

  16. Catalyst and XLIFF Interpretation of resource types • Dialogs • Menus • String Tables Interpretation of status • For review, untranslated, signed-off • Memos • Locks • Max string lengths

More Related