Localization – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson Tips on .Net, SQL Server, Sharepoint & AI Tue, 21 Jun 2011 01:55:02 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.5 https://blogs.visigo.com/chriscoulson/wp-content/uploads/2011/02/chris_profile-150x150.jpg Localization – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson 32 32 Deploying Localized Satellite Assemblies with SharePoint 2010 https://blogs.visigo.com/chriscoulson/deploying-localized-satellite-assemblies-with-sharepoint-2010/ https://blogs.visigo.com/chriscoulson/deploying-localized-satellite-assemblies-with-sharepoint-2010/#comments Tue, 21 Jun 2011 01:52:32 +0000 http://blogs.visigo.com/chriscoulson/?p=44 Localizing web parts in a SharePoint 2010 project is pretty straight forward. Add resource files to your project, set the Deployment Type to AppGlobalResource, and then access them with GetGlobalResourceObject or with the <%$Resources> tag. Unfortunately this only works where you have the HttpContext – so great for web parts, but useless for Timer jobs and event receivers. In order to access the...

Source

]]>
https://blogs.visigo.com/chriscoulson/deploying-localized-satellite-assemblies-with-sharepoint-2010/feed/ 4
Getting the Localized TaxonomyFieldValue https://blogs.visigo.com/chriscoulson/getting-the-localized-taxonomyfieldvalue/ https://blogs.visigo.com/chriscoulson/getting-the-localized-taxonomyfieldvalue/#comments Thu, 09 Jun 2011 04:07:22 +0000 http://blogs.visigo.com/chriscoulson/?p=43 Let’s say you have a Managed Metadata column in a SharePoint list, and you want to get the value for that column from an item in the list. Easy right? One problem though. It doesn’t matter what the current Culture is, you’ll always get back the default label. If you want to get the localized label, you need to do a whole lot more: Here’s the code...

Source

]]>
https://blogs.visigo.com/chriscoulson/getting-the-localized-taxonomyfieldvalue/feed/ 3