Hi Jose,
I would like to ask for your attentention to an issue in the pathauto module queue.
As mentioned here http://drupal.org/node/290421#comment-3807650 it would be nice to have i18n version tokens of catpath or termpath available for pathauto module. That way localized terms can be used in paths generated by the pathauto module.
The full issue can be found here; http://drupal.org/node/290421
Do you think this is a realistic feature request?
Cheers,
Bartezz
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1014318-support-localized-taxonomy-DRUPAL-6--1.patch | 4.8 KB | pokurek |
| #1 | 1014318-support-localized-taxonomy-DRUPAL-6--1.patch | 4.48 KB | pokurek |
Comments
Comment #1
pokurek commentedHi,
As mentioned before, it could be nice to have for pathauto module something like this patch.
Patch is not so well tested yet, but I hope it is good for start think about.
Have a nice time,
Petr
Comment #2
klonossubscribing
Comment #3
mxtSubscribing
Comment #4
philipz commentedsubscribing
Comment #5
anrikun commented@pokurek: patch at #1 doesn't work for me...
Is this supposed to work with "Localize terms. Terms are common for all languages, but their name and description may be localized."?
Comment #6
bartvdputte commentedThis doesn't seem to work for me neither with "localize terms"...
Comment #7
pokurek commentedI have rewritten the patch. Try this one.
If term is from vocabulary with "Localize terms." then it uses i18nstrings() function for term name translation.
Comment #8
nimek commented#7 Not working for localize terms vocabulary settings cause in that case $term->language is empty.
Comment #9
mathieu commentedI have a feeling this could include (or be included in) #1141246: Add new tokens (i18n-termpath-raw and i18n-termpath).
Comment #10
klonos...this is NR based on #7.
Comment #11
pokurek commented#8 I think, If we don't know term language, we can't do any translations.
So, there is a condition for that and if term language is empty, the function return term itself.
Module pathauto set term language before it is translated as a path alias (can see in issue: http://drupal.org/node/290421).
Comment #12
jose reyero commentedNo new features for 6.x
Comment #13
klonos...sorry for reopening this, but this time it is a support question: How is this fixed in 7.x?
Comment #14
jose reyero commentedSee #1177084: Translated vocabulary names not working with Pathauto