Restrict column language

I would like to restrict the language of the data entered into a text column in a document library.

In the specific example I would like document title to always be in English.

August 19th, 2015 10:27am

SharePoint allows text any text.

One thing you can do is to translate the equivalent English of the word and update the column with the help of event receiver. 

Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 10:39am

This would be a work around.

I was looking for a validation rule or other restriction. It is possible to restrict the character set using ascii codes in the validation field however they are universal across languages and does not restrict language

August 19th, 2015 11:33am

Hi,

We cannot set such validation rule in UI to restrict users to input English words.

This can only be achieved with custom solutions programmatically.

Here are some links about how to detect the language of a string programmatically:

http://stackoverflow.com/questions/1192768/how-to-detect-the-language-of-a-string

http://www.smart-arab.com/2011/05/detected-if-string-non-english-language-c/

Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 2:35am

Thanks for the reply, I was hoping for a simpler non programmatic approach.
August 31st, 2015 10:56am

Hi,

If you have a special format for the column, then you can validate the column for each character to be a English word.

Please refer to the link below:

https://www.premierpointsolutions.com/training/help-and-how-to-articles/how-to-validate-strict-text-formats-in-sharepoint-2010/

Otherwise, there is no OOB way to achieve this goal.

Thanks,

Victoria

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 9:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics