public static IEnumerable <T> Localize <T>(this IEnumerable <T> items, string languageCode, LocalizationDepth depth = LocalizationDepth.Shallow) where T : class, ILocalizable { return(ObjectLocalizerConfig.Get().Localize(items, languageCode, depth)); }
public static T Localize <T>(this T item, LocalizationDepth depth = LocalizationDepth.Shallow) where T : class, ILocalizable { return(ObjectLocalizerConfig.Get().Localize(item, depth)); }