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

Client Methods

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

The LocalizationServiceClient type exposes the following members.

Methods
  NameDescription
Public methodDispose
Public methodGetCurrentLanguage
Get currently active language
Public methodGetFileName
Get the file name/path in the language. The search will go through the context and its sub context to find the file name. Eg. If file name is not found in context com.ruyi, then the search will go on to find it in com.ruyi.moduleA and com.ruyi.moduleB.
Public methodGetString
Get a localization string. Return: localization string.
Public methodGetStrings
Get a set of localization string.
Public methodHintContext
Get currently active context.
Public methodSwitchContext
Switch a context of the language.
Public methodSwitchLanguage
Switch language to specified one.
Top
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