Class PseudoLocaleOptions
Options for PseudoLocalizer.
public sealed class PseudoLocaleOptions
- Inheritance
-
PseudoLocaleOptions
- Inherited Members
Constructors
PseudoLocaleOptions()
Creates the default options: 40% longer, accented, in markers, left to right.
public PseudoLocaleOptions()
Properties
Accents
Replaces plain letters with accented ones, so text that assumes ASCII widths or a font without accents shows up.
public bool Accents { get; set; }
Property Value
ExpansionFactor
How much longer each string becomes, as a fraction of its length (0.4 is 40% longer). Default 0.4.
public double ExpansionFactor { get; set; }
Property Value
Markers
Wraps each string in [ and ] so a clipped end is visible and untranslated strings stand out.
public bool Markers { get; set; }
Property Value
RightToLeft
Reverses the word order and wraps the text in right-to-left embedding marks, to exercise mirrored layouts.
public bool RightToLeft { get; set; }