private string findMissingLocalizedText(StringToken token)
        {
            //return "Error String Not Found!";
            //var localizedText = _repository.FindBy<LocalizedText>(t => t.Name == token.Key && t.Culture == Culture.Name);
            //if (localizedText == null)
            //{
            string defaultText = "Error String Not Found!";

            if (token.DefaultValue.IsNotEmpty())
            {
                var prefix = ""; //((Culture.Name.Equals("en-US", StringComparison.InvariantCultureIgnoreCase)) ? "" : Culture.Name + "_");
                defaultText = prefix + token.DefaultValue;
            }
            //    else
            //    {
            //        defaultText = Culture + "_" + token.Key;
            //    }

            //    localizedText = new LocalizedText(token.Key, Culture.Name, defaultText);
            //    _repository.Save(localizedText);
            //}

            //return localizedText.Text;
            return defaultText;
        }
 public string GetTextForKey(StringToken key)
 {
     return _textValues.Retrieve(key);
 }
 public StandardButtonExpression LocalizedText(StringToken token)
 {
     return NonLocalizedText(token.ToString());
 }