RadEditor into an application. For the moment RadEditor can be in us-Us, fr-FR and de-DE. But the application can be also in spanish(es-ES), ...
For the moment I coded this :
protected void Page_Load(object sender, EventArgs e){if (!this.IsPostBack){
RadEditor1.Language = Request.Cookies[CIndex.UICulture].Value;
}
But if (Request.Cookies[CIndex.UICulture].Value == "es-ES") , RadEditor cannot translate in Spanish. I would like to use English as default language. I don't know how to check if RadEditor can translate. I am looking something like that :
if(!Radeditor.Languages.Contains(Request.Cookies[CIndex.UICulture].Value))
{
RadEditor1.Language = "us-US";
}
else
{
RadEditor1.Language = Request.Cookies[CIndex.UICulture].Value;
}
But my list Radeditor.Languages is empty. I don't know why. I don't use SpellCheking.
Thank you in advance,