The ResHelper type exposes the following members.
Back to Top
Back to Top
Methods
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
|
Properties
Name | Description | |
---|---|---|
Colon |
Colon symbol.
| |
Comma |
Comma symbol.
| |
CultureSeparator |
Culture separator.
| |
Dash |
Dash symbol.
| |
Dot |
Dot symbol.
| |
RegExLocalize |
Localization regular expression.
| |
RequiredMark |
RequiredMark symbol.
| |
Semicolon |
Semicolon symbol.
| |
Slash |
Slash symbol.
| |
StringSeparator |
String separator.
|
See Also