ResHelper Methods |
The ResHelper type exposes the following members.
Name | Description | |
---|---|---|
ContainsLocalizationMacro |
Returns true, if the given text contains a localization macro
| |
GetAPIString(String, String) |
Returns specified string for the API usage (the default value is used when string is not found).
| |
GetAPIString(String, String, String) |
Returns specified string.
| |
GetFileString |
Returns specified string.
| |
GetString |
Returns specified string.
| |
GetStringFormat |
Gets the given string and formats it with the standard String.Format method
| |
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.
| |
TranslationFoundForLocalizedString |
Detects whether translation can be found for the given localized string
|