Default Language:

When we create a site collection or site we could be able to see an option for selecting the language.

Site Collection:

Go to Central Administration => Application Management=> Site Collections => Create Site Collections =>Select a language.

1.gif

Site:

Go to SharePoint site => Site Actions => New Site => Select Language.

2.gif

This selection of language becomes the default language for the site or site collection.

The default language can be determined by using the SharePoint 2010 object model.

UICulture Property:
SPweb.UICulture property is used to get a CultureInfo object that represents to the default language for the Web site.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Steps Involved:

PowerShell script: