Class ModulePseudoLocale
A pseudo-localization locale for the built-in localization module.
Implements
Inherited Members
Namespace: UnityEngine.Localization.Pseudo
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class ModulePseudoLocale : Locale, IPostProcessValueLocale
Remarks
Add it to the module's locale list to test layout and localization readiness without real translations: every resolved string runs through the configured Methods, the same pseudo-localization methods the package's PseudoLocale uses. The transformation applies after Smart String formatting, through the module's Unity.Localization.IPostProcessValueLocale hook.
Examples
var pseudo = new ModulePseudoLocale("en-pseudo") { FallbackCode = "en" };
moduleSettings.AddLocale(pseudo);
Constructors
| Name | Description |
|---|---|
| ModulePseudoLocale() | Creates a pseudo locale with the default method set. |
| ModulePseudoLocale(string, string) | Creates a pseudo locale for a specific culture code. |
Properties
| Name | Description |
|---|---|
| Methods | The pseudo-localization methods, applied in list order. |
Methods
| Name | Description |
|---|---|
| PostProcessValue<T>(T) |