Common.SetLanguage: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


Parameters
Parameters
:''language'': The language to use, from the [[Language]] enumeration.
:''language'': The language to use, from the [[Language Enumeration|Language]] enumeration.


== Usage Example ==
== Usage Example ==
{{APIComment|Set the language to English}}
{{APIComment|Set the language to English}}
         SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)
         SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)

Revision as of 22:00, 5 March 2014


Sets the language for the whole library. It cannot be set separately for different instances of classes.

Syntax

Parameters

language: The language to use, from the Language enumeration.

Usage Example

Set the language to English

       SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)