/// <summary> /// Localizes the string in current language. /// </summary> /// <param name="culture">culture</param> /// <returns>Localized string</returns> public virtual string Localize(CultureInfo culture) { return(LocalizationHelper.GetString(SourceName, Name, culture)); }
/// <summary> /// Localizes the string in current language. /// </summary> /// <returns>Localized string</returns> public virtual string Localize() { return(LocalizationHelper.GetString(SourceName, Name)); }