klyn.i18n.Locale.toString
method
public override toString() as String
Description

Formats the normalized language and optional country, separated by _.

Returns

Locale identifier, or an empty String for the root locale.

Example

assert Locale("fr", "CA").toString() == "fr_CA"