public static string Translate(this string key) { if (string.IsNullOrEmpty(key)) return null; return GetByName(key); }