public static IFormattedMessage NeitherTypeConvertsToOther(string type1, string type2) { return "Neither of the types '{type1}' and '{type2}' converts to the other.".Localize(new { type1, type2 }); }