get

operator fun I18NBundle.get(key: String, vararg args: Any?): String

Return

formatted value mapped to the key extracted from the bundle.

Parameters

key

property name in the i18n bundle.

args

will replace the argument placeholders in the selected bundle line. The order is preserved and honored.


operator fun I18NBundle.get(line: BundleLine): String

Return

localized text from the selected bundle.

Parameters

line

value mapped to its ID will be extracted. Its toString method should match property name in i18n bundle.


operator fun I18NBundle.get(line: BundleLine, vararg args: Any?): String

Return

formatted value mapped to the key extracted from the bundle.

Parameters

line

value mapped to its ID will be extracted. Its toString method should match property name in i18n bundle.

args

will replace the argument placeholders in the selected bundle line. The order is preserved and honored.