LocalizationService Class |
Namespace: CMS.Localization
public class LocalizationService : FileLocalizationService
The LocalizationService type exposes the following members.
Name | Description | |
---|---|---|
LocalizationService |
Name | Description | |
---|---|---|
ClearCache |
Clears the cached resource strings and forces them to load again on next localization request.
(Overrides FileLocalizationServiceClearCache(Boolean).) | |
GetAPIString |
Returns specified string.
(Overrides FileLocalizationServiceGetAPIString(String, String, String).) | |
GetFileString(String, String, Boolean) |
Returns specified string.
(Inherited from FileLocalizationService.) | |
GetFileString(String, String, String, Boolean) |
Returns specified string from the resource files.
(Inherited from FileLocalizationService.) | |
GetString |
Returns specified string.
(Overrides FileLocalizationServiceGetString(String, String, Boolean).) | |
LocalizeExpression |
Localizes the given expression, handles two types of expressions:
stringkey - Simple localization
=default string|cs-cz=localized string - advanced localization
(Inherited from FileLocalizationService.) | |
LocalizeFileString |
Replaces "{$stringname$}" expressions in given text with localized strings.
(Inherited from FileLocalizationService.) | |
LocalizeString |
Replaces "{$stringname$}" expressions in given text with localized strings using given culture.
(Overrides FileLocalizationServiceLocalizeString(String, String, Boolean, Boolean).) |