I've got a Views page in a multilingual website where I need a different url for each language, ie:
- es: mysite/apartamentos.
- en: mysite/appartments.
- fr: mysite/appartements.
- ru: mysite/arendu.
I created an url alias for each language (which is mysite/appartments although the default language of my site is spanish) so the spanish alias for
apartamentos and so on. I created these aliases using
configuration >> Search and Metadata >> URL aliases >> add alias.
I have to pass query parameters to the view to filter the results so my url is something like mysite/en/appartments/p/location_field/2 and I've got a form where I manually put the action like :
where translated page may be apartamentos, appartments, appartements or arendu, making the action url :
/es/apartamentos , /fr/appartements , /en/appartments and /ru/arendu
My problem is that when this form is sent Drupal sends me to
and the same occurs for all the languages. The rest of the thing seem fine and even the breadcrumb (which is generated using the url) looks correct ( Inicio >> Apartamentos Costa Dorada, in Spanish).
When I use the language switch it redirects me to the correct translated page but without the query parameters (from
mysite/es/appartments/p/location_field/2 it sends me to
I don't know what can be causing this issue, maybe the query parameters interfering with the alias interpretation?
Note: I have a lot of translation modules enabled. For the i18n modules there are: block, field, menu, node, path, string, taxonomy, translation (translation sets), variable and views.