Changing the langauge of the SharePoint spell checker

I recently realised that regardless of what language you have set your locale or settings to in your SharePoint instance that the spellchecker dictionary ALWAYS defaults to US English – however a client of mine wanted to use the Australian English as their site was hosted and used primarily by Australians!

I thought this was going to be an easy configuration change, however in the end this required a bit of javascript injected into the page.

Basically all you need to do is add the following to the masterpage and set the correct value for the locale that you want:

<script language=”javascript” type=”text/javascript”>
L_Language_Text = 3081;
</script>

Once this is added the default dictionary is changed. I have included a table below of the common dictionaries for the various English languages. For a complete list of locales check out the following site here: http://msdn.microsoft.com/en-us/goglobal/bb964664.

English – United States – 1033
English – United Kingdom – 2057
English – Australia – 3081
English – Belize – 10249
English – Canada – 4105
English – Caribbean – 9225
English – Hong Kong SAR – 15369
English – India – 16393
English – Indonesia – 14345
English – Ireland – 6153
English – Jamaica – 8201
English – Malaysia – 17417
English – New Zealand – 5129
English – Philippines – 13321
English – Singapore – 18441
English – South Africa – 7177
English – Trinidad – 11273
English – Zimbabwe – 12297

Advertisements
This entry was posted in SharePoint. Bookmark the permalink.

4 Responses to Changing the langauge of the SharePoint spell checker

  1. Andy says:

    What a life saver! few users kept asking for the NZ spell checker

  2. PRATHAP says:

    i had similar requirement for UK english. added the script atg in master page with LCID 2057.
    i didnt work

  3. Shahram says:

    This didn’t work for me (SharePoint 2010), instead the following one I implemented after digging into SharePoint Spell Checker works well – Just make sure you add it to bottom of your master page:

    if(spellcheck != null)
    {
    spellcheck.defaultLanguage = 3081;
    }

    Thanks for the initiative 🙂

  4. Pingback: Māori spell checking in SharePoint 2013 and SharePoint Online | Bex Gordon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s