I'm using the UltraSpellChecker in my Dutch application
As with other controls I use SetCustomizedString to change the strings used by Infragistics.
With other controls (Grid, Calendar) it works fine but the SpellChecker Dialog stays in English :-(
These are the string I set:
Dim rc As Infragistics.Shared.ResourceCustomizer rc = Infragistics.Win.UltraWinSchedule.Resources.Customizer
'SpellChecker rc.SetCustomizedString("LS_SpellCheckForm", "Spelling") rc.SetCustomizedString("LS_SpellCheckForm_AccessibleDescription", "Controleer op spelfouten") rc.SetCustomizedString("LS_SpellCheckForm_lbErrorsFound", "Spelfouten gevonden") rc.SetCustomizedString("LS_SpellCheckForm_btIgnoreOnce_1", "Eenmaal negeren") rc.SetCustomizedString("LS_SpellCheckForm_btIgnoreOnce_2", "Doorgaan") rc.SetCustomizedString("LS_SpellCheckForm_btIgnoreAll", "Altijd negeren") rc.SetCustomizedString("LS_SpellCheckForm_btAddToDictionary", "Toevoegen aan woordenboek") rc.SetCustomizedString("LS_SpellCheckForm_lbChangeTo", "Wijzigen in:") rc.SetCustomizedString("LS_SpellCheckForm_btChange", "Wijzigen") rc.SetCustomizedString("LS_SpellCheckForm_btChangeAll", "Wijzig alle") rc.SetCustomizedString("SpellCheckForm_btChangeAll", "Wijzig alle") rc.SetCustomizedString("LS_SpellCheckForm_lbSuggestions", "Suggesties:") rc.SetCustomizedString("LS_SpellCheckForm_btUndo", "Ongedaan maken") rc.SetCustomizedString("LS_SpellCheckForm_btClose_1", "Annuleren") rc.SetCustomizedString("LS_SpellCheckForm_btClose_2", "Sluiten")
Hello Oskamf,
I was able to change the UltraSpellChecker resource strings by using the following line of code to instantiate ResourceCustomizer:
Infragistics.Shared.ResourceCustomizer rc;rc = Infragistics.Win.UltraWinSpellChecker.Resources.Customizer;
Let me know if you have any additional questions.
Ok, I was unther the impression that the resourcecustomizer was one global object for all Infragistics controls.
Because my app also uses the Schedule controls this line was already in my code:rc = Infragistics.Win.UltraWinSchedule.Resources.Customizer
Adding the new linerc = Infragistics.Win.UltraWinSpellChecker.Resources.Customizer
after setting the schedule strings and before setting the Spellchecker string solved the issue
thanks!