url in document name

Oliver Acev asked on January 24, 2021 11:41

I have document news page in Cyrillic name and url take in this culture code. My costumer want to show in latin url.

to change this - /изменение-на-климата

in

/izmenenie-na-klimata

I know that i can rename after creating document but is possible to convert auto when document is created.

Thanks

Recent Answers


Dmitry Bastron answered on January 24, 2021 13:52

Hi Oliver,

Unfortunately, there is no such feature out-of-the-box. Also, there are a few different rules for "transliteration" (I know because I'm Russian =)). But you can quite easily achieve this hooking into Document events, e.g. before create or update of the document apply your transliteration rules into URL. The implementation would depend on your CMS version and whether you use Portal Engine or MVC approach.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.