LRM XML Support: Difference between revisions

From Lingoport Wiki
Jump to navigation Jump to search
Line 10: Line 10:
LRM uses the ''xmlParser.xml'' file to parse any extensions that have a ''xml'' parser type. This file is located in the ../L10nStreamlining/<group>/projects/<project>/config folder.
LRM uses the ''xmlParser.xml'' file to parse any extensions that have a ''xml'' parser type. This file is located in the ../L10nStreamlining/<group>/projects/<project>/config folder.


 
The xmlParser.xml directs LRM on the location of the keys and values within the xml files as well as whether the key/value is translatable.
 


== AndroidParser.xml structure ==
== AndroidParser.xml structure ==

Revision as of 17:02, 1 September 2017

XML Support for Standard LRM Extensions

There are 3 out-of-the-box parser definitions for XML files.

  • ResxParser.xml format definition used for .resx extensions.
  • RxmlParser.xml format definition used for .rxml extensions.
  • AndroidParser.xml format definition used for as the default for .xml extensions.

Formatting xml files

LRM uses the xmlParser.xml file to parse any extensions that have a xml parser type. This file is located in the ../L10nStreamlining/<group>/projects/<project>/config folder.

The xmlParser.xml directs LRM on the location of the keys and values within the xml files as well as whether the key/value is translatable.

AndroidParser.xml structure

ResxParser.xml structure

RxmlParser.xml structure