By matussvk on
Hello,
does anybody know, if it is possible to create url aliases in this way for multilingual pages:
mysite.com/en/home - homepage in english language
mysite.com/de/home - german translation of homepage
mysite.com/sk/home - slovak translation of homepage
etc...
Urls in form "site/language/alias" works fine, but not with the same alias for every language mutation of the same page.
Thank you.
Comments
Use the locale and content
Use the locale and content translation modules.
In admin/structure/types/manage/'type' enable multilingual support field 'Enabled with translation'.
In admin/config/regional/language/configure/url choose 'path prefix' and in admin/config/regional/language/configure enable URL.
(Adding the mysite/nl, mysite/en ...)
Now if you create a node of that particular content type, you can add translations.
Each translation is a different node and can have a different URL alias.
It is impossible to give multiple URL aliasses to the same node id.
Drupal backend developer since 2011.
Open Source Webdevelopment Coding Blog