Sitecore: Limit the language of the item version to English only

I have a multilingual website, and for one specific element I want to restrict the content editor to create language versions. For this item, I only want to have an English version.

How can i achieve this?

+4
source share
3 answers

I had a similar script and looked at the element: addversion, as Jim mentioned. However, it is rather difficult not to get into the situation of catches. In my case, I create many elements by code. Doing this without raising events (silent updates) is quite difficult, as it also disables clearing the item cache, element indexing, etc.

. , , , , ( ) . . , , .

+2

/sitecore/system/Languages ​​ node Language Read Language Write, , , .

enter image description here

+1

- / Sitecore , , A.

enter image description here

, , ​​ , . , en, , , , .

+1

Source: https://habr.com/ru/post/1624794/


All Articles