RadSpell for ASP.NET

Localization Send comments on this topic.
Localization > Localization

Glossary Item Box

The user interface of RadSpell can be easily localized by setting its Language property.

ASPX

<rad:radspell id="RadSpell1" runat="server" language="en-us" />

C#

RadSpell1.Language = "en-us";

VB.NET

RadSpell1.Language = "en-us"

 

As a result, the RadSpell dialog will look similar to the screenshot below:

Creating a custom language

The localization XML files are located in the ~/RadControls/Spell/Localization/[language] folder:

  • RadSpell.xml - contains the localization strings for RadSpell, e.g. the title of the SpellCheck button.
  • SpellDialog.xml - contains the localization strings for the RadSpell dialog.

 The best way to create a new language is to duplicate an existing one and then modify it.

<localization>
   <string id="Title">Correcteur d'orthographe</string>
   <string id="NoPermission">Vous n'avez pas les autorisations pour acc??der ? cette page ou votre session est expir??e<br />Actualisez la page.</string>
   <string id="Tab1HeaderText">Correcteur d'orthographe</string>
   <string id="ProgressMessage">Correction d'orthographe en cours.....</string>
   <string id="Confirm">D??sirez-vous appliquer ou annuler les corrections faites jusqu'? maintenant?</string>
   <string id="ChangesMade">Vous avez apport?? des changements au texte</string>
   <string id="SpellCheckComplete">La correction d'orthographe est termin??e.</string>
   <string id="Nosuggestions">Aucun suggestion</string>
   <string id="Undo">Annuler</string>
   <string id="UndoEdit">Annuler la modification</string>
   <string id="Ignore">Ingorer</string>
   <string id="IgnoreAll">Ignorer tout</string>
   <string id="Cancel">Annuler</string>
   <string id="AddCustom">Ajouter</string>
   <string id="Change">Modifier</string>
   <string id="ChangeAll">Modifier tout</string>
   <string id="Help">Aide</string>
   <string id="NotInDictionary">Absent du dictionnaire:</string>
   <string id="Suggestions">Suggestions:</string>
   <string id="AddWord1">?stes-vous certain de vouloir ajouter '</string>
   <string id="AddWord2">' au dictionnaire personnalis???</string>
</localization>