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.
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.
Add the following namespace.
Using Microsoft. SharePoint ;
Program.cs looks like the following.