Closed (fixed)
Project:
Internationalization Views
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2008 at 15:44 UTC
Updated:
18 May 2010 at 08:49 UTC
Desired functionality: If a view is created in English and has a path of my/site, it should be possible to set an alias per language, such that a user in Spanish would see the view path as mi/sitio.
Comments
Comment #1
catchI think this can be done with the core path module - however the path management interface isn't ideal for this task at all.
There's two core patches which are possibly related:
http://drupal.org/node/106094
http://drupal.org/node/147143
I'm going to re-review them and see if it might be worth converting into a contrib module for D6.
Comment #2
catchTested the core path module + views along with the language switcher block, and it works fine for this purpose (as you'd expect).
Taking a look at the two path admin patches, they wouldn't be a straight backport/contrib-conversion since there's some major changes to the path alias API in both (default path aliases, database schema, function signatures etc. etc.). The basic idea of a tab or block which grabs the path aliases for the page and makes them editable/addable might be an option though, but it's perhaps out of scope for internationalisation - although also deserving of a generic solution - since it's a pain to edit path aliases for taxonomy terms, users etc. regardless of language settings.
Comment #3
catchI've posted a (new) core issue here to explore how this could be handled in Drupal 7. If that issue develops, then it'd be possible to backport any functionality from there to a new contrib module: #333374: Path administration (per path as well as per alias)
Comment #4
jose reyero commentedMoved to new project. See #788290: Fix views compatibility issues (2.x, 3.x), spin off i18nviews module?
Also it seems this is handled by core, so closing.