The LocalizationHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
CreateFileManager |
Creates a new instance of file manager.
| |
GetAPIString(String, String, Boolean) |
Returns specified string for the API usage (the default value is used when string is not found).
| |
GetAPIString(String, String, String, Boolean) |
Returns specified string.
| |
GetCMSResourceFilePath |
Gets the path to the resource file.
| |
GetFileManager |
Returns the file resource manager for given culture.
| |
GetFileString(String, String, Boolean) |
Returns specified string from the resources.
| |
GetFileString(String, String, String, Boolean) |
Returns specified string from the resource files.
| |
GetResourceFilePaths |
Gets the path to the resource files.
| |
GetResourceName |
Trim starting and ending '$' chars, if both exists only. Returns trimmed string.
| |
GetString(String, Boolean) |
Returns specified string.
| |
GetString(String, String, Boolean) |
Returns specified string.
| |
GetString( String , String, String, Boolean) |
Gets the string using the given string keys. Returns the first available item found.
| |
GetString(String, String, String, Boolean, Boolean) |
Returns specified string.
| |
GetStringFormat |
Gets the given string and formats it with the standard String.Format method
| |
GetUniqueResStringKey |
Returns unique resource string key from given plain text.
| |
IsUniqueResStringKey |
Check if resource key is unique.
| |
LocalizeExpression |
Localizes the given expression, handles two types of expressions:
stringkey - Simple localization
=default string|cs-cz=localized string - advanced localization
| |
ResourceFileExistsForCulture |
Returns true if resource file exists for given culture.
|
Fields
Name | Description | |
---|---|---|
MarkLocalizedTexts |
If true, the localized texts are marked with special character to be easily recognizable
|
Properties
Name | Description | |
---|---|---|
CurrentResources |
Returns the list of resources used by current request. Hashtable [stringKey] -> [resolved]
| |
DefaultManager |
Returns default file resource manager.
| |
DefaultResourceFiles |
List of the default resource files.
| |
RegExResourceName |
Resource name regular expression.
| |
UseSQLResourceManager |
If true, SQL Resource manager if used to retrieve the strings.
| |
UseSQLResourceManagerAsPrimary |
If true, SQL Resource manager if used as primary source to retrieve the strings.
|
See Also