The ConstTranslations class allows you to define the translations
as a const object, all at once. This not only is a little bit more
efficient, but it's also better for "hot reload", since a const variable
will respond to hot reloads, while final variables will not.
A Translations object is where you provide the translated strings.
Given a "translation-key", it returns a map of translations: { locale : translated strings }.
The translation-key may be the string itself that you want to translate, or an identifier.
Use the localize method to localize a "translatable string" to the given locale.
You must provide the key (which is usually the string you want to translate)
and the translations object which holds the translations.
Use the localizeAllVersions method to return a Map of all translated strings,
where modifiers are the keys. In special, the unversioned text is indexed with a null key.
Use the localizeVersion method to localize a "translatable string" to the given locale.
You must provide the key (which is usually the string you want to translate),
a modifier, and the translations object which holds the translations.