Write options |
Use this sheet to specify the options that are used when writing localized resource files.
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. |
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 from .NET 3.0 up to .NET 4.6.1 accept both the legacy and the new codes. .NET 2.0 and earlier only accept the legacy codes. By default, Soluling uses legacy codes with .NET before 4.0, and new codes with .NET 4.0 or later. If you want to use the legacy codes even with .NET 4.0, turn them on. Right-click the Chinese language in the list and choose Use legacy codes. If you want to use the new codes even with .NET 3.x, turn them on. Right-click the Chinese language in the list and choose Use new codes.