Ruyi SDK
Namespaces
Ruyi.SDK.LocalizationService
LocalizationService.Client Class
Client Methods
Dispose Method
GetCurrentLanguage Method
GetFileName Method
GetString Method
GetStrings Method
HintContext Method
SwitchContext Method
SwitchLanguage Method
Click or drag to resizeClick or drag to resize

LocalizationServiceClientSwitchLanguage Method

[This is preliminary documentation and is subject to change.]

Switch language to specified one.

Namespace:  Ruyi.SDK.LocalizationService
Assembly:  ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public bool SwitchLanguage(
	string language,
	bool loadAllContext,
	bool removeOld
)

Parameters

language
Type: SystemString
Which language to switch to. Should be the name of language code. Eg. en-US, zh-CN
loadAllContext
Type: SystemBoolean
Whether or not to load all context of the language
removeOld
Type: SystemBoolean
Whether or not to remove old language

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Ruyi.SDK.LocalizationService.LocalizationService.Client.SwitchLanguage(System.String,System.Boolean,System.Boolean)"]

See Also

Reference

LocalizationServiceClient Class
Ruyi.SDK.LocalizationService Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com