FileLocalizationService Class |
Namespace: CMS.Localization
public class FileLocalizationService : ILocalizationService
The FileLocalizationService type exposes the following members.
Name | Description | |
---|---|---|
FileLocalizationService |
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) |
Returns specified string.
| |
GetFileString(String, String, String, Boolean) |
Returns specified string from the resource files.
| |
GetString |
Returns specified string.
| |
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.
|