public static string Translate(string text) { string translateKey = string.Format("PointsMove:{0}", text); TextTranslationItem translate = TextTranslation.GetCacheItem(CamBamConfig.Defaults.Language, translateKey); string translateText = text; if (translate != null) { if (!string.IsNullOrEmpty(translate.Translation)) { translateText = translate.Translation; } } else { TextTranslation.SetCacheItem(CamBamConfig.Defaults.Language, translateKey, text, ""); } return translateText; }