Recently Browsing 0 members
No registered users viewing this page.
I still did not solve my problem about Hebrew letters. In fact, it is ok for Russian for example to have a transliteration of characters (one to one) but in languages like Hebrew, Arabic, it is better to slugify with phonetic like here :
use EasySlugger\Utf8Slugger; $slug = Utf8Slugger::slugify('日本語'); // slug = ri-ben-yu $slug = Utf8Slugger::slugify('العَرَبِيةُ'); // slug = alrbyt $slug = Utf8Slugger::slugify('עברית'); // slug = bryt So I am planning to insert https://github.com/javiereguiluz/EasySlugger
Should I create a module or just add a hook ?
I am a PW newbie.
Thanks for your help
This is not directly about language module but I think I can get information from you.
Can I add a vendor module to have all languages written automatically into name?
I used this vendor module which is good with any language (hebrew, arabic...). How could I add it, so admin interface can use it ?
Each page in processwire has a name and a title.
When I create a new page and give it a title, the name is created automatically.
That name creates the URL of that page.
This works great for English sites.
However, for international users this doesn't work as nicely.
If I create a new page and give it a title that's not in English, then the name field is left blank and I must write a "fake" title in English.
I work with sites in Arabic and in Hebrew and this is the biggest difficulty I see when working on non English sites with Processwire.
Even for an experienced user, this is an annoyance every time.
For comparison, in WordPress I can have multilingual titles and URL's out of the box.
This is an advantage WordPress has when it comes to international users.
I would like to see this change, and perhaps help bring this change.
What would it take for Processwire to support multilingual URL's and page names?
What would be the best route to achieve this?