Drupal Association members fund grants that make connections all over the world.
I would like to find out what would be the best way to define custom textual (not tokens) path for multi-language site and taxonomy terms.
As I can find in UI, per language paths can be defined only for content types (Content Paths section), but not for taxonomy terms, where default and per vocabulary options are available only.
I am using Taxonomy vocabulary set to "Translate. Different terms will be allowed for each language and they can be translated." This is using i18n module and sub modules. And would like to set textual base path for each term depending on it's selected language. For example:
- products_en/[term:i18n-name] - for English version, and;
- products_other/[term:i18n-name] - for particular other language.
With current UI I can not find solution to do it this simple way, only use Tokens (Token module enabled obviously).
One way would be use localized vocabulary name in path generation, but I still do not feel quite comfortable with it, as I use more descriptive names for vocabulary, than needed in URLs. And more for this, I am not aware of any consequences, as I am planning to override display of nodes with views, but still not want to use taxonomy/term/% way (Search API type view is intended).
I would like to achieve this, as I am planning to use Taxonomy Menu module, to let assigned users manage taxonomy categories, still automating correct multi-language path generation per term tied to particular views page. And provide particular vocabulary as a menu in a block. (Currently flat taxonomy terms are considered - without hierarchy.)
Is there a way to achieve this? May be I do not get all the options of Tokens?
|#10||Screen shot 2013-05-08 at 9.47.10 AM.png||70.33 KB||wooody|
|#10||Screen shot 2013-05-08 at 9.44.49 AM.png||31.07 KB||wooody|
|#6||Screen shot 2013-04-30 at 10.39.36 AM.png||35.59 KB||wooody|
PASSED: [[SimpleTest]]: [MySQL] 316 pass(es). View