Construct localized key name from key and locale.
localized key in form keylocale dropping encoding out if present.
string key = "Name"; assert(localizedKey(key, "") == key); assert(localizedKey("Name", "ru_RU") == "Name[ru_RU]"); assert(localizedKey("Name", "ru_RU.UTF-8") == "Name[ru_RU]");
separateFromLocale
See Implementation
Construct localized key name from key and locale.