public static string GetString(string name, params object[] args) { string res = Resources.GetString(name, null); if (args != null && args.Length > 0) { return String.Format(CultureInfo.CurrentCulture, res, args); } else { return res; } }