klyn.i18n.ResourceBundle.getString
method
public getString(notnull key as String) as String
Description

Reads a String resource without converting objects of other types.

Parameters
ParameterDescription
keyResource key.
Returns

String resource.

Throws
  • MissingResourceException if the key is absent.
  • TypeError if the resource is not a String.
  • NullException if key is null at runtime.
Example

print(messages.getString("save"))