Drupal 6.24; Views 6.x 2.16; 2 languages: polish and english, EN and PL (PL is default); Languages are configured to use path prefix only.

2 languages EN and PL, paths are like:
en: myen
pl: mojepl

Now it should work as follows: if one is on english path mysite/en/myen and switching language to PL should see mysite/mojepl but what one is seeing is: mysite/myen.

Actually both paths are registered to the system as they belong to default language (PL), there are existing paths:

  1. myen
  2. en/myen
  3. mojepl
  4. en/mojepl

but only 2nd and 3rd should be available and should be switching during language switching (1st and 4th should not even exist).

CommentFileSizeAuthor
#4 i18npageview.patch1.78 KBpawel_r

Comments

gtothab’s picture

I'm not having any luck either. Using the same versions of the plugin as pawel.

In my case I dont even see the fields for entering various paths in the 'path settings' section of the views UI.

G

pawel_r’s picture

You should add new view display as "i18n view page" not "page".

pawel_r’s picture

Why this module has not any implementation of hook_translation_link_alter? How "translated" links are set as aliases to default path?

pawel_r’s picture

StatusFileSize
new1.78 KB

Here is some not-the-best fix:

  • url is added as callback for default language
  • for rest languages proper aliases are created

WARNING: always force all path to be saved (do not edit and save just one of them) : patch needs to be rewritten

pawel_r’s picture

Issue summary: View changes

drupal 6.24 not 6.23

pawel_r’s picture

Issue summary: View changes
Status: Active » Closed (outdated)