Soluling home   Document home

Write options

Use this sheet to specify the options that are used when writing localized resource files.

Options

Specifies the write options that are used when writing localized resource files.

Value Description
Add FlowDirection property if needed or
Add RightToLeft and RightToLeftLayout properties if needed
If checked, Soluling adds the flow direction/right to the left property into the localized files if needed.
Write stripped white spaces If checked, the localized resource files' string values will contain the same leading and trailing white spaces as the original resource files.
This option is only enabled if you have checked to Remove leading and trailing white spaces in XAML options.
Write comments If checked, the comment values are written into the localized resource files.

Multiple script languages

This list contains all those languages used in the project that can use more than one script. These languages are so-called multi-script languages. When writing the language id of such language, Soluling, by default, adds a script part to the code. For example, instead of using just zh (Chinese) Soluling writes either zh-Hans (Simplified Chinese) or zh-Hant (Traditional Chinese). Use this list if you want that one of the scripts is the default script and language ids using that script are written without a script. To set a default script, right-click a language a choose the default script. After that, the language with that the script does not use the script part in the language id anymore.

Chinese has an additional option. .NET before 4.0 used a different way to code Chinese scripts than .NET 4.0 or later. The following table contains the codes used:

Language Before .NET 4.0
Legacy codes
.NET 4.0 or later
New codes
Simplified Chinese zh-CHS zh-Hans
Traditional Chinese zh-CHT zh-Hant

.NET before 4.0 used legacy (CHS/CHT) script codes. However, all .NET versions up to .NET 4.6.1 accept them both. By default, Soluling uses legacy codes with .NET before 4.0, and new codes with .NET 4.0 or later. If you want to uses the legacy codes even with .NET 4.0, you have to turn them on. Right-click the Chinese language in the list and choose Use legacy codes. If you want to uses the new codes even with .NET 3.and older, you have to turn them on. Right-click the Chinese language in the list and choose Use new codes.