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