public static IFormattedMessage CannotConvertValue(string type1, string type2) { return "A value of type '{type1}' cannot be converted to type '{type2}'.".Localize(new { type1, type2 }); }