Document home

XML

XML items

Use this sheet to specify what items from the XML file are localized and how they are localized.

Items that are localized

You have two methods to select what items are localized. The possible methods are Localize all items of selected types and Select items you want to localize.

1. Localize all items of selected types

Soluling localizes all items whose type match the selected types. For example localize all string and color values. Use this if you want to localize all items of certain types. Use Data types sheet to select the types that you want to localize.

In addition you can specify if an attribute contains a localize, context or language value.

Check Detect localize attributes to make Soluling to automatically detect what attributes are localize attributes. Localize attribute names specifies the list of attribute names that are possible localize attributes.

Check Detect context attributes to make Soluling to automatically detect what attributes are context attributes. Context attribute names specifies the list of attribute names that are possible context attributes.

Check Detect language attributes to make Soluling to automatically detect what attributes are language attributes. Language attribute names specifies the list of attribute names that are possible language attributes.

Use this method if you want to localize pretty much everything in the file. If there are only certain elements that you want to localize then use the following method.

2. Select items you want to localize

Application localizes only those items that you select. Use this if you want to localize only some items or you want to localize one ore more item as other type than string (e.g. number or image).

Use the tool bar and tree view to check the items that you want to localize. To check an item double click it and a green checked mark appears. To unselect double click again.

Click Default button to check the default items. Click Check all button to check all items. Click Uncheck all button to uncheck all items. Click Clear all button to uncheck all items and to clear the item properties. Click Show file button to open the file in the default editor. Click Import button import selection from a file. Click Export button to export the current selection into a file.

Application tries to detect the data type in the items. The default value is plain string but if the value contains a number or base64 encoded value data type is set to match the detected type. You can manually set the data type by right clicking the item and selecting the data type.

Format Description
Plain text String contains plain text.
Segmented text String contains segmented text.
Boolean String contains a boolean value. 1/0, true/false and yes/no are valid values.
Integer number String contains an integer number.
Floating point number String contains a floating point number. It can be in scientific format (e.g. 1.45E-12). Decimal separator (if any) must be a period (e.g. 1.5).
Color

String contains a color value. Possible formats are [#|$|0x][AA]RRGGBB or [#|$|0x][A]RGB.

Date and time

String contains a date and time value. ISO 8601 (Wikipedia) must be used.

Expression String contains a structured string that is defined using an expression. Regular expressions are used to parse the string.
Defined text String contains defined text. A text definition (using regular expressions) is used to parse the string.
Script String contains script data. An script/source code parser is used to parse the string.
XML String contains XML data. An XML parser is used to parse the string.
JSON String contains JSON data. A JSON parser is used to parse the string.
YAML String contains YAML data. A YAML parser is used to parse the string.
INI String contains INI data. A INI parser is used to parse the string.
HTML String contains HTML data. An HTML parser is used to parse the string.
SVG String contains SVG data. A SVG parser is used to parse the string.
Base64 encoded binary data String contains base64 encoded data. Encoded data is decoded into original binary data and scanned.
Base32 encoded binary data String contains base32 encoded data. Encoded data is decoded into original binary data and scanned.
Base16/hex encoded binary data String contains base16/hex encoded data. Encoded data is decoded into original binary data and scanned.
URL encoded binary data String contains URL encoded data. Encoded data is decoded into original binary data and scanned.