Score:1

Generate same Path aliases for multi languages

ar flag

I have a content type Products. A pattern is defined via the Pathauto module for product CT. but my issue is that when I translate an entry/node it generates a translated path alias for Urdu in Roman-English(Urdu in English alphabet) But the spellings of that path are meaningless. When I uncheck "Transliterate prior to creating alias" It generates the aliases in pure Urdu which is unacceptable in my case.
My proposed solution is to have the same path aliases for both languages with a "UR" Prefix in URL for Urdu.

E.g
English: example.com/product/windows-10-licence
Urdu: example.com/ur/product/windows-10-licence

I have tried everything using the Pathauto module but was unsuccessful. How I can regenerate and replace all Urdu path aliases with English path aliases. I am looking for a programmatic ly solution.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.