Localization

To make Photo Kiosk usage easier for non-English users, we provide a possibility to change all text that can ever be displayed by Photo Kiosk. To perform this you should create your language localization file, launch Configuration Tool, and specify localization file for the language as Localization file; the setting is available in the Appearance section.

By default localization file is placed in the following folder: C:\Users\UserName\AppData\Roaming\Aurigma\PhotoKiosk\7.0\Resources.xml. You can use the file as a base for your localization; localization file has the following structure. The root element is named resources. This element, in its turn, contains a set of textResource elements. Each element contains a key and a value. The key element contains a name by which the resource will be retrieved. The value element contains a value string.

Strings from text resources require no special parsing, except for one case. The resource with the KeyboardLayout key is a special one. It defines key layout of an on-screen keyboard that will be displayed to the user when they enter their contact information. It contains a sequence of chars that will be mapped to a sequence of keys on the displayed keyboard. However, this sequence may also contain reserved words which should be surrounded by the hash sign (#):

Reserved word Meaning
#EndRow# Indicates the end of a row of the on-screen keyboard. This keyword is different from the others, as it is not mapped to any key.
#Backspace# Specifies the Backspace key of the on-screen keyboard.
#Space# Specifies the Space key of the on-screen keyboard.
#Hash# Specifies the Hash key of the on-screen keyboard.

Here is a short example of the resources file syntax.

XML
<resources>
	<textResource>
		<key>TopCaption</key>
		<value>Photo Kiosk</value>
	</textResource>
	<textResource>
		<key>KeyboardLayout</key>
		<value>aeiou#Backspace##EndRow#mnpsrc#EndRow##Space##EndRow#</value>
	</textResource>
	<!-- ...More resources... -->
</resources>

See Also