The default dictionary used for spelling checking when editing a wiki page is “English – US”. And it turns out that there is no built-in configuration or setting that would allow you to easily change that. One workaround, after some googling, is to use javascript to change the language code on the EditForm.aspx page with the SpellCheckEntirePage.js linked in. I added one line of code into a javascript block on the page; and you would need to use Sharepoint Designer to do that. The line of code is
L_Language_Text=2057; //2057 is the code for English - United Kingdom
Alternatively, you could add that line of javascript to the master page so all pages using the master page will be impacted. For me, I just want to limit the impact to the wiki library, I just need to add it to one EditForm.aspx page associated with that wiki library.
Update: it turned out the next day that the button images in the Rich Text Editor were not showing, reported by one user. A looking into the HTTP trace showed that the page was trying to load images from _layouts/2057/images/, and those requests came back with 404, because the folder was simply not there on the server. I researched into installing language packs, as I think, this folder as well as perhaps a bunch of other folders would be properly set up by the language pack installer(s). The only thing is that research shows that installing a language pack is not a trivial task; I had to test it out on the development farm and then do it to the production farm, and we are not really using the target language on the farm, except for the spelling checking in one particular wiki. So I thought I would skip installing the language pack, and only copy the referenced images files from 1033 and place them in where the page was looking for them. So I ended up creating the 2057/images folder and copied 38 image files that start with RTE for the rich text editor. And that fixed the button image missing issue.
Related posts:
- Using Sharepoint Wiki Library to Collaborate on Content
- Moving a Sharepoint Wiki
- My Experience with Sharepoint’s Wiki
- All Day Event Messes Up Filtering on Start Time in Content Query Web Part in Sharepoint 2007
- Copying and Creating a New Sharepoint Theme
Tags: dictionary, language, sharepoint, spelling
