Difference between revisions of "CLanguage.SetLanguage"

From ReliaWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
== Methods ==
 
== Methods ==
*'''[[Common.SetLanguage|SetLanguage]]''' {{Template:APIComment|{{Template:Common.SetLanguage.Cmt}}}}
+
*'''[[Common.SetLanguage|SetLanguage( Language )]]''' {{Template:APIComment|{{Template:Common.SetLanguage.Cmt}}}}
  
== Formatted 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 21:56, 5 March 2014


Sets the language of the entire library.

Methods

  • SetLanguage( Language ) Sets the language for the whole library. It cannot be set separately for different instances of classes.

Usage Example

Set the language to English

       SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)