Soluling home   Document home

Pseudo translation

Pseudo translation

Use this dialog to set the properties of pseudo translation. Each language uses its settings, and they are stores in the settings file. Each time you use the pseudo translation, this dialog is shown with the settings you previously selected.

Translation Scope

Specifies what part of the project is translated. Possible values are:

All rows Translates all the strings items if the selected language.
Only rows of the current view Translates only the string items that are in the current view.

Translation method

Specifies the method that is used in the pseudo translation. Possible values are:

Value Description
None No pseudo translation is used.
Standard Original strings are taken as a basis and then modified to simulate the selected language. This method is useful to check if the user interface works with the script that the language uses.
For example, if the selected language is using the Latin script and the original string is "Hello World" then the pseudo translation will be "Héllö Wörld".
Maximum The longest value among the original and the translations are used. This method is useful to check the longest real strings expansion.
For example, is the original value is "Red", German is "Röd", Finnish is "Punainen" and Japanese is "赤", Finnish value, "Punainen", is used because it is the longest.
Replace All characters of original strings are replaced with a replacement character. This method helps to find hard-coded strings.
For example, "Hello World" translates to "...........". If you anything but dots when running your application, you might have a hardcoded string.
Reduce The length of the original string is reduced to one character. This character is either one specific character (e.g. '.') or the first character of the string. This method tests how the user interface works with minimum length strings.
For example, "Hello World" translates to "H".

The case when the translation method is Standard

If the translation method is standard, then the following items are visible. Most of them are used only when the selected language is a European language or uses a European script.

Use predefined settings

Use this combo box to quickly set values to one of the predefined settings.

Options

Specifies how the string is modified. Possible values are:

Value Description
Diacritics Diacritics are added to the characters. This method tests the ability of the user interface to handle correctly diacritic and accented characters that are used in most European languages.
For example, "Hello World" becomes "Héllö Wörld".
Expand The length of the string expands. This method can be used to test that the user interface handles longer translations correctly. It is usual that English worlds are shorter than their translations. The expansion amount depends on the length of the original string. Use Expand percentage to control the length of the expansion.
For example, "Hello World" becomes "Hello World________X".
Enclose The string is enclosed. The default enclose-characters are braces ({ and }). This can be used to test that both the beginning and the end of the string are visible.
For example. "Hello World" becomes "[Hello World]".

Expand percentage

Specifies the expansion percentage. Expand percentage is enabled if the Expand check box in the Methods group is checked. Different percentages are used for different string lengths. The following table contains the expansion percentages:

Value Description
1...5 Specifies the expand percentage when the length of the original string is between 1 and 5 characters.
6...10 Specifies the expand percentage when the length of the original string is between 6 and 10 characters.
11...20 Specifies the expand percentage when the length of the original string is between 11 and 20 characters.
21...30 Specifies the expand percentage when the length of the original string is between 21 and 30 characters.
31...50 Specifies the expand percentage when the length of the original string is between 31 and 50 characters.
over 50 Specifies the expand percentage when the length of the original string is over 50 characters.

The default expansion percentage values may seem a bit high at first sight. In most cases, words in other languages are only slightly longer than the original English words. However, there are exceptions. These exceptions in different languages vary. There is no way to predict what kind of expansion is really going to happen. This why it is good to prepare for the worst. For example, the English word "bike" is only four characters, but its Finnish translation "moottoripyörä" is 13 characters!

Enclose characters

Specifies what enclose characters are used. This is enabled when the Enclose check box in the Methods group is checked. Possible characters are:

Value Description
Begin Specifies the begin character.
End Specifies the end character.

Expand characters

Specifies what expand characters are used. This is enabled when the Expand check box in the Methods group is checked. Possible characters are:

Value Description
Expand Specifies the expand-character. Default is underscore (_).
Last Specifies the last character. Default is X.

Character case

Specifies how the case of the string is changed. Possible values are:

Value Description
No change Case is not changed
Alternate The case of every character is changed from lower to upper or from upper to lower.
For example, "Hello world" becomes "HeLlO WoRlD".
Upper The case of every character is changed to the upper.
For example, "Hello world" becomes "HELLO WORLD".

Characters

This is visible when the language is Asian. Possible values are:

Value Description
Use native characters
The pseudo translation is done by generating ideographic characters used by the language.
Use double-width characters
The pseudo translation is done by converting each original character into its double-length variant.
For example, "Hello World" becomes to "Hello World".

The case when the translation method is Replace

If the translation method is replace, then the following items are visible.

Replace every character with the following character

Type the character that is used with the replace pseudo translation type when replacing characters.

The case when the ranslation method is is Reduce

If the translation method is reduce then the following items are visible.

Reduction

The reduce pseudo translation type has to two variation. They are:

Value Description
Remove every character from the string but the first one The original string is reduced to a one-character string containing the first character of the string.
Replace strings with the following string The original string is replaced with the given string.

Context

Specifies if a context part of the string or unique id is added to the pseudo translation. This shows the context of the string, helping you to locate the string in the Soluling project. Possible values are:

Value Description
Do not add a context or id value to the translation No context part is added into the pseudo translated string.
Add a unique id before the translation A unique id is added int to the beginning of the pseudo translated string. Id is a short number that will not expand the strings too much.
Add a context value after the translation The context part is appended to the pseudo translated string.
Add a context value before the translation The context part is added to the beginning of the pseudo translated string.

Before string specifies the character or characters that are placed before the context or id value. The default value is an empty string.

Separator string specifies the character or characters that are placed between the context or id value and the pseudo translation. Default is an empty string.

After string specifies the character or characters that are placed after the context or id value. Default is an empty string.

To see how context or id is added, change the values, and see the result in the sample group.

Sample

Show the samples where the first string is the original string and the second string is the pseudo translated string that was generated using the current settings.