/// <summary>
        /// 翻译
        /// </summary>
        /// <param name="category"></param>
        /// <param name="sourceCulture"></param>
        /// <param name="sourceText"></param>
        /// <param name="targetCulture"></param>
        /// <param name="objParams"></param>
        /// <returns></returns>
        public static string Translate(string category, CultureInfo sourceCulture, string sourceText, CultureInfo targetCulture, params object[] objParams)
        {
            ITranslator t = TranslatorSettings.GetConfig().Translator;

            string result = t.Translate(category, sourceCulture, sourceText, targetCulture);

            if (objParams.Length > 0)
            {
                result = string.Format(result, objParams);
            }

            return(result);
        }
 /// <summary>
 /// 翻译
 /// </summary>
 /// <param name="category"></param>
 /// <param name="sourceText"></param>
 /// <param name="targetCulture"></param>
 /// <param name="objParams"></param>
 /// <returns></returns>
 public static string Translate(string category, string sourceText, CultureInfo targetCulture, params object[] objParams)
 {
     return(Translate(category, TranslatorSettings.GetConfig().DefaultCulture, sourceText, targetCulture, objParams));
 }