sharepoint languages changes
-
2012년 5월 2일 수요일 오후 12:39
hi,
how to change language based an selecting from drop down.. for programaticle
모든 응답
-
2012년 5월 2일 수요일 오후 12:58
Hi ps41.
If you mean how to enable the installed languages so that it becomes visible on the dropdown, try this:
# Enables ALL installed languages for each site in a site collection $SPSiteURL = "http://sp2010/sites/sc5" $SPSite = Get-SPSite -Identity $SPSiteURL foreach ($SPWeb in $SPSite .AllWebs) { $SPWeb.IsMultilingual = $true $SPWebRegionSettings = New-Object Microsoft.SharePoint.SPRegionalSettings($SPWeb) foreach ($language in $SPWebRegionSettings.InstalledLanguages) { write-host -BackgroundColor Green -ForegroundColor Black "Update -" $SPWeb "site with LCID:" $language.DisplayName $culture = New-Object System.Globalization.CultureInfo($language.LCID) $SPWeb.AddSupportedUICulture($culture) } $SPWeb.Update() }Regards
Thomas Balkeståhl - Technical Specialist - SharePoint - http://blog.blksthl.com
Download the SharePoint Branding Project here- 답변으로 표시됨 Shimin Huang 2012년 5월 11일 금요일 오전 8:07
-
2012년 5월 2일 수요일 오후 12:59
Hello!
You should set CurrentUICulture of current thread:
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("ru-RU");Don't happy, be worry...
- 답변으로 제안됨 Aviw_ 2012년 5월 11일 금요일 오전 8:23

