Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Sharepoint 2010 site column Localization

$
0
0

Hi

I am creating a feature for the site columns where the DisplayName is localized using resource files deployed to 14\Resources for English and Spanish.

the issue is, when the feature is activated and the MUI language is changed from English to Spanish the DisplayName is still in English.

after spend fare bit of time to get this to work, I got it to work when I removed the "Overwrite='TRUE '" from the site column definition.

in other words, the below caml WORKS

<Field ID="{5BC736BB-6B1C-485b-BB4B-3140C9E8E1C8}" 
     Name="xyzasdf171" 
     StaticName="xyzasdf171"
     SourceID="http://schemas.microsoft.com/sharepoint/v3"
     Group="01" 
     DisplayName="$Resources:TestResource,SC_TestResources;" 
     Type="Text" 
      />
where as this does NOT WORK
<Field ID="{5BC736BB-6B1C-485b-BB4B-3140C9E8E1C8}" 
     Name="xyzasdf171" 
     StaticName="xyzasdf171"
     SourceID="http://schemas.microsoft.com/sharepoint/v3"
     Group="01" 
     DisplayName="$Resources:TestResource,SC_TestResources;" 
     Type="Text" 
     Overwrite="TRUE"
      />


is there something I have missed or anyone came across similar kind of issue?

 

Regards

 

Praveen


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>