Separate key name into non-localized key and locale name. If key is not localized returns original key and empty string.
tuple of key and locale name.
assert(separateFromLocale("Name[ru_RU]") == tuple("Name", "ru_RU")); assert(separateFromLocale("Name") == tuple("Name", string.init));
localizedKey
See Implementation
Separate key name into non-localized key and locale name. If key is not localized returns original key and empty string.