Ruyi SDK
Namespaces
Ruyi.SDK.LocalizationService
LocalizationService.Client Class
Client Methods
GetCurrentLanguageAsync Method
GetFileNameAsync Method
GetStringAsync Method
GetStringsAsync Method
HintContextAsync Method
SwitchContextAsync Method
SwitchLanguageAsync 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 methodGetCurrentLanguageAsync
Public methodGetFileNameAsync
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 methodGetStringAsync
Get a localization string. Return: localization string.
Public methodGetStringsAsync
Get a set of localization string.
Public methodHintContextAsync
Public methodSwitchContextAsync
Switch a context of the language.
Public methodSwitchLanguageAsync
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