Click or drag to resize

LocalisationService Methods

The LocalisationService type exposes the following members.

Methods
  NameDescription
Public methodAsNormalisedAscii(String)
Returns the string as a normalised ASCII string. Accents are converted to a normalised character, and all non-ascii parts are mapped to String.Empty.
Public methodStatic memberAsNormalisedAscii(String, Encoding)
Returns the string as a normalised ASCII string. Accents are converted to a normalised character, and all non-ascii parts are mapped to String.Empty.
Public methodChangeLocale
Change the current locale to the new specified one.
Public methodCoroutineInitialise
This method is used by our internal systems so do not call it directly.
(Overrides SingletonBehaviourCoroutineInitialise.)
Public methodGetLocalisedText
Returns a localised version of the text key passed in
Public methodGetLocalisedTextFormatted
Returns a localised version of the text key passed in
Public methodLoadCustomLocalisationFiles
Loads a set of custom localisation TSV files from a resource location.
Public methodMergeLocalisationData
Merge new localisation data into the current locale data table. Note: If the locale is changed, you will loose all these entries and you would need to add them again.
Protected methodOnDestroy
Unity component method
(Overrides SingletonBehaviourOnDestroy.)
Public methodTryGetLocalisedText
Returns a localised version of the text key passed in
Public methodTryGetLocalisedTextFormatted
Returns a localised version of the text key passed in
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also