Identifying Translatable Strings

 

To locate and identify text strings within your files you create a Method. Each Method consists of two regular expressions which  identify text that delimits the strings that are to be translated.

Editbox.Text = <string.en>ezParse is awesome!<\string.en>

In the example above, the text between <string.en> and </string.en>  is to be translated. So we need to create two regular expressions that match the 'start tag' that precedes this string and the 'end tag' that comes after this string.

 

 

Start Tag

<string.en>

 

Translatable String

EzParse is awesome !

 

End Tag

</string.en>

We can now create regular expressions to match  these tags within our file.

 

 

Start Tag

<string.en> or <.*>

 

End Tag

</string.en> or </.*>