Translations with custom path - can't get it to work
| Project: | Localizer |
| Version: | 5.x-3.13 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi Roberto, first thanks for a great module. It is really useful in my present project. When it is complete I will write an article on how I used Localizer for it, hopefully that will help the documentation.
The site I am working on is English and Chinese. I have come across this problem: I create a new node and give it the path of 'example'. I then add a Chinese translation and try to use the same path, but Drupal says path is already used.
My Localizer settings are:
[ ] Do not add language prefix on the site default language
[✔] Automatically append language prefix to all content (node) pages
[✔] Append language prefix on new content (node) translations
Can you tell me how to use the same URL path for both languages? Thanks

#1
>but Drupal says path is already used
Yes, it is so. You cannot ahve the same alias pointing to two different pages.
You have two options :
1. disable this option :
[✔] Automatically append language prefix to all content (node) pages
and manually add the language prefix in the alias field
The second setting :
[✔] Append language prefix on new content (node) translations
will add automatically add the correct perfix for you for the new translations.
2. use a different alias for every translation, I mean 'example' for English and '例如' for Chinese
Roberto
#2
ok, thanks