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

How to create a localized column field?

For example, when using sharepoint in French, the field "Name" automatically gets translated to "Nom".

i want to create a column that automatically changes its display according to the language.

share|improve this question
add comment

3 Answers

Check the \12\TEMPLATE\XML\FLDTYPES.XML file to see how it is implemented for built-in SharePoint fields.

Example:

<FieldType>
  <Field Name="TypeName">AllDayEvent</Field>
  <Field Name="TypeDisplayName">$Resources:core,All_Day_Event;</Field>
  <Field Name="InternalType">AllDayEvent</Field>
share|improve this answer
    
CAn you give more details please? –  Zee99 Sep 28 '10 at 8:26
    
@Zee99 What have you achieved so far? Have you created a non-localized column field? Can you post any code? Basically, what you have to do is: (1) create a resource files for languages you need, (2) deploy them to appropriate folders, (3) set value of TypeDisplayName using the $Resources:resource_file_name,key_name_from_the_file; syntax. –  Marek Grzenkowicz Sep 29 '10 at 8:13
add comment
up vote 0 down vote accepted

create the site column, change the language to something else, than edit the column name and update it with the corresponding value. that's it, sharepoint will automatically show the column in the appropriate language.(there is a configuration in site settings --> site administration-->language settings where you specify to overwrite translations with users translations.

share|improve this answer
add comment

I in a search for the an answer on the same question I found this article that may help.

http://msdn.microsoft.com/en-us/library/ff955226.aspx

share|improve this answer
add comment

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.