Enabling Support for Alternate Languages in SharePoint 2010


In this article we will be seeing how to enable support for alternate languages in SharePoint 2010.

The installed languages in the SharePoint server can be supported by the site which is specified by the owner of the site, so that users who navigate to the site can then change the display language of the user interface to any of these alternate languages.

For more information on Alternate Languages refer http://www.c-sharpcorner.com/UploadFile/anavijai/7304/ (Copy the link and paste).

I have installed the Hindi language pack in my SharePoint 2010 server, in this I am going to enable support for Hindi language (Alternate language).

Go to Site Actions => Site Settings => Site Administration => Language Settings.


Check the Hindi language in the Alternate language's section.


Click on Ok.

Now the users have the ability to change the language of the User interface for a website to Hindi language as shown in the following.


The same thing can be achieved using SharePoint 2010 object model.

Steps Involved:

  • Open Visual Studio 2010.Go to File => New => Project.

  • Select Console Application template from the installed templates.

  • Enter the Name and click Ok.

  • Add the following assembly.

  1. Microsoft.SharePoint.dll

  • Add the following namespace.

  1. Using Microsoft. SharePoint ;

  2. Using System.Globalization;

  • Program.cs looks like the following.

  1. using System;

  2. using System.Collections.Generic;

  3. using System.Linq;

  4. using System.Text;

  5. using Microsoft.SharePoint;

  6. using System.Xml;

  7. using System.Globalization;