SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with resources in my site definition. I have 2 languages dutch (1043) and english (1033). In my site definition i'm using a feature which has a site column. This site column has displayname which is based on a resource.

I also have a contenttype where this column is in but with another displayname which comes from a resource. This contenttype I'm using in a custom list.

If I create the site from the site definition, I get a wrong displayname in my list. But the strange thing is that when I delete the list, and re-activate my feature, the displayname is correct.

Here some code to clarify my problem. This is my site column:

  <Field Type="Number" 
     Group="Datamex Automatisering" 
     xmlns="" />

I'm using this site column in my contenttype with a resource in my displayname

   <ContentType ID="0x01010044e1b4de787b4b7d9ae26b770906f77f0092a56f1213a94172b4c30d7dd97b04ea0068d247cd7b394362b3dc725f72d020ef"
       <FieldRef ID="{b9d9771e-72ba-411f-b259-1776ddd99526}" Name="DMXAutoNumber" DisplayName="$Resources:Yucatan.Fields,CertificateNumber;" />

In my custom list I reference this contenttype, and using these fields in my view:

      <FieldRef Name="DocIcon" />
      <FieldRef Name="Title" />
      <FieldRef Name="LinkFilename" />
      <FieldRef Name="AdministrationNumber" />
      <FieldRef Name="DMXAutoNumber" />
      <FieldRef Name="Pages" />
      <FieldRef Name="Modified" />

In the of the sitecolumn the text is "AutoNumber", in the resource of the contenttype the text is "Certificate".

If I activate the feature myself the text is "Certificate" which is correct. If I create a site with my site definition (which uses the same feature to create the libraries) the text is "AutoNumber" which is incorrect.

Does anyone know why this is happening and how to fix it?

share|improve this question
I have some simular strange behavior when i was creating site by using powershell, but reactivate feature by hands. The solve was to restart powershell before deploying. – IAfanasov Jan 9 '12 at 16:11
What do you mean by Wrong Name? it is taken from a wrong resource file? – Ashish Patel Jan 9 '12 at 18:31
With wrong name I mean the name of the site column, not the name in the contenttype. – Marlou Jan 10 '12 at 13:37

Are you creating this using code or markup?

If you coded this, use .TitleResource (and .DescriptionResource if needed) instead of .Title to set the title properly for all desired languages.

.Title will only get you the title for the current language running the sitecreation process, and the .Title property doesn't work properly with the quicknav on multilingual sites either.

share|improve this answer
I'm creating the sitecolumn, contenttype and list using markup – Marlou Jan 10 '12 at 13:37
up vote 0 down vote accepted

finally found the solution. Deleting the Overwrite="TRUE" from the field definition resolved my issue

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.