Hi Everyone!
I am using Drupal 6.13 together with Gallery 2.3 and the i18n Internationalization module 1.1 running a multi-language site.
It works great except for one thing. The user can only switch in between the two languages on the site using the language switcher in the main photo album of G2 but not in any of the sub-albums.
The language switcher renders the URLs in the following manner:
Main gallery:
English, http://www.example.com/gallery
Chinese, http://www.example.com/zh-hans/gallery
Sub-album:
English, http://www.example.com/?q=gallery&g2_itemId=34
Chinese, http://www.example.com/zh-hans/gallery/34
Seems that the correct URL for the Chinese version of the sub-album instead is
http://www.example.com/zh-hans/gallery&g2_itemId=34
I also noticed that the Sub-albums names won't translate in Drupals navigation menu, they will only show up in English and they will override the current language in use and change the site language to English when clicking on them.
I was wondering if anyone knows if this is a known problem or if it could be something wrong with my configuration?
Update:
I tried the Consistent Language Interface module 2.1 and it will translate the sub-albums correctly except for the sub-album's names won't switch to Chinese in the navigation menu and when clicking on them the site will switch to English.
Comments
Manual Chinese entry for G2 sub-album in the Navigation block
I manually created a separate menu entry in the Navigation block for one of my sub-albums, marking it as Chinese. However I could not point it to the correct URL gallery&g2_itemId=34 in the Drupal interface but had to point it to /gallery/34 instead.
The menu item shows up as Chinese in the Chinese version of the website but it points to
http://www.example.com/zh-hans/gallery/34instead ofhttp://www.example.com/zh-hans/gallery&g2_itemId=34, which unfortunately results that the page is being rendered in English.Any thoughts?