public readonly property locale as Locale
Returns the locale actually loaded, not necessarily the requested locale. The root locale has empty language/country; manually constructed bundles have no locale until loaded by load().
Actual locale, or null for an unloaded bundle.
print(messages.locale.language)