getStringT

Returns a localized formatted string from Tolgee cache or the application's package's default string table, substituting the format arguments as defined in java.util.Formatter and java.lang.String.format.

Return

The string data associated with the resource, formatted and stripped of styled text information.

Parameters

tolgee

The Tolgee instance to get the cached string from.

resId

Resource id for the format string


Returns a localized formatted string from Tolgee cache or the application's package's default string table, substituting the format arguments as defined in java.util.Formatter and java.lang.String.format.

Return

The string data associated with the resource, formatted and stripped of styled text information.

Parameters

resId

Resource id for the format string


fun Context.getStringT(tolgee: Tolgee, @StringRes resId: Int, vararg formatArgs: Any): String(source)

Returns a localized formatted string from Tolgee cache or the application's package's default string table, substituting the format arguments as defined in java.util.Formatter and java.lang.String.format.

Return

The string data associated with the resource, formatted and stripped of styled text information.

Parameters

tolgee

The Tolgee instance to get the cached string from.

resId

Resource id for the format string

formatArgs

The format arguments that will be used for substitution.


fun Context.getStringT(@StringRes resId: Int, vararg formatArgs: Any): String(source)

Returns a localized formatted string from Tolgee cache or the application's package's default string table, substituting the format arguments as defined in java.util.Formatter and java.lang.String.format.

Return

The string data associated with the resource, formatted and stripped of styled text information.

Parameters

resId

Resource id for the format string

formatArgs

The format arguments that will be used for substitution.