contao/import — Issue #2434: improve alias generator. add i18n support
Author: DyaGa
Created: 2011-11-29 19:33:45+00:00
State: open
Labels: Feature, frontend

For every page, article item, news item, etc. Contao uses field alias.
I am working with Russian and Ukrainian languages, and for this languages alias generator works as, for example:
alias for created page in russian **Главная страница** (en.: Main page) Contao will generate alias - **glavnaja_stranica**, so the link will be http://site/glavnaja_stranica.html.

What about to generate alias like this: **http://site/Главная_страница.html**.
I mean not only replace " " (space signs) to "_" (underscore sign) but leave caps, as it used in Wikipedia, for example url: http://ru.wikipedia.org/wiki/Язык_разметки .

As I see all modern browsers support i18n url values in utf-8 and looks fine...

--- _Originally created on August 14th, 2010, at 01:51pm (ID 2434)_