ILocalizationService Interface |
Namespace: CMS.Core
public interface ILocalizationService
The ILocalizationService type exposes the following members.
Name | Description | |
---|---|---|
ClearCache |
Clears the cached resource strings and forces them to load again on next localization request.
| |
GetAPIString |
Returns specified string.
| |
GetFileString(String, String, Boolean) |
Gets the string by the specified resource key from resource file
| |
GetFileString(String, String, String, Boolean) |
Returns specified string from the resource files.
| |
GetString |
Gets the string by the specified resource key
| |
LocalizeExpression |
Localizes the given expression, handles two types of expressions:
stringkey - Simple localization
=default string|cs-cz=localized string - advanced localization
| |
LocalizeFileString |
Replaces "{$stringname$}" expressions in given text with localized strings.
| |
LocalizeString |
Replaces "{$stringname$}" expressions in given text with localized strings using given culture.
|