getPlatformI18NString
String
getPlatformI18NString
(
messageID
,
defaultValue
)
Return translation for the given messageID in the platform resource
bundle or defaultValue if no such translation is available.
- Parameters:
-
messageID <String> -
defaultValue <String>
- Returns:
String
getPlatformI18NStringWithArgs
String
getPlatformI18NStringWithArgs
(
messageID
,
defaultValue
,
messageArgs
)
Return translation for the given messageID in the platform resource
bundle or defaultValue if no such translation is available.
- Parameters:
-
messageID <String> -
defaultValue <String> -
messageArgs <Array>
- Returns:
String
TVB.i18n.getI18NString
String
TVB.i18n.getI18NString
(
messageID
,
defaultValue
,
bundleName
)
Return translation for the given messageID in the named resource bundle
or defaultValue if no such translation is available.
- Parameters:
-
messageID <String> -
defaultValue <String> -
bundleName <String>
- Returns:
String
TVB.i18n.getI18NStringWithArgs
String
TVB.i18n.getI18NStringWithArgs
(
messageID
,
defaultValue
,
bundleName
,
messageArgs
)
Return translation for the given messageID in the named resource bundle
or defaultValue if no such translation is available.
- Parameters:
-
messageID <String> -
defaultValue <String> -
bundleName <String> -
messageArgs <Array>
- Returns:
String