Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a feature that provisions fields, a content type, and a list based on that content type (all programmatically)

To implement localization, I set the title of the SPFieldLink objects to a resource string in the format "$Resources:mybundle,key" before adding them to my content type.

When I browse to the list, I see the columns correctly translated to the current language. However, when I add or view a list item, the labels always show in english, even though the rest of the forms (such as the buttons and the ribbon) are properly translated.

How is this possible?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

It would appear the the SPFieldLink object doesn't support localization in the same way that lists or SPFields do.

I 'solved' this issue by setting the title of the SPFields directly, before creating the SPFieldLink.

share|improve this answer

Your Answer

 
discard

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.