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.
Technology Tips and News
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.
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.
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
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
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:
Otherwise, there is no OOB way to achieve this goal.
Thanks,
Victoria