1

If I'm creating a custom list in my code, how can I make fields localized, so when user has set e.g. Polish, he can see field names in polish and when he has English language set, he can see field names in English. Could you give some example?

3 Answers 3

1

Using Resource File could be a good choice but it won't allow the content editors to enter the tranlations. Chris Brian talk about the language store which is quite flexible and easy to implement and solution is available at codeplex too

2
  • This is pretty much what I've been looking for ;)
    – jjczopek
    Commented Aug 28, 2011 at 14:34
  • Great, it helped you :) Commented Aug 28, 2011 at 15:01
1

You need to use resources. For example you can use this blog post: Using Resource Files (.resx) when developing SharePoint solutions

1

Have a look at the property TitleResource of your field. Through this property you can set your field names for each culture. MSDN Description of SetValueForUICulture

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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