Hello
I used the last release.
I have define a french taxonomy with accents like in a lot of language (swenden, german, spanish, french...).

But Pathauto don't feel the path area with the better rule.

So À à â ä should transform as a simple "a" in URLs.
î ï - > i
ôö -> o
Æ æ -> ae
Œ œ -> oe
ç -> c
...
Sometimes URLs becomes not human readable. Like with morse signs : http://drupalproject/--v-l-la--.html

Thanks for a solution with a complet list of rules perhaps for all accents.

Comments

floown’s picture

Sorry I'm back ^_^

With this kind of title 'un titre avec des accents ? éèëêà{}ùũûü'
I have this error:

warning: Illegal offset type in isset or empty in /drupal/modules/taxonomy/taxonomy.module on line 1150.
warning: Illegal offset type in /drupal/modules/taxonomy/taxonomy.module on line 1151.
warning: Illegal offset type in /drupal/modules/taxonomy/taxonomy.module on line 1154.
: Object of class stdClass could not be converted to string in /drupal/sites/all/modules/pathauto/pathauto_node.inc on line 223.
warning: Illegal offset type in isset or empty in /drupal/modules/taxonomy/taxonomy.module on line 1150.
warning: Illegal offset type in /drupal/modules/taxonomy/taxonomy.module on line 1151.
warning: Illegal offset type in /drupal/modules/taxonomy/taxonomy.module on line 1154.

This suggest list should covers all latin languages.

'--' => $separator,
'__' => $separator,
' ' => $separator,
'&' => 'and',
'\'' => '',
'Š' => 'S',
'Œ' => 'Oe',
'Ž' => 'Z',
'š' => 's',
'œ' => 'oe',
'ž' => 'z',
'Ÿ' => 'Y',
'¥' => 'Y',
'µ' => 'u',
'À' => 'A',
'Á' => 'A',
'Â' => 'A',
'Ã' => 'A',
'Ä' => 'A',
'Å' => 'A',
'Æ' => 'Ae',
'Ç' => 'C',
'È' => 'E',
'É' => 'E',
'Ê' => 'E',
'Ë' => 'E',
'Ì' => 'I',
'Í' => 'I',
'Î' => 'I',
'Ï' => 'I',
'Ð' => 'D',
'Ñ' => 'N',
'Ò' => 'O',
'Ó' => 'O',
'Ô' => 'O',
'Õ' => 'O',
'Ö' => 'O',
'Ø' => 'O',
'Ù' => 'U',
'Ú' => 'U',
'Û' => 'U',
'Ü' => 'U',
'Ý' => 'Y',
'ß' => 'ss',
'à' => 'a',
'á' => 'a',
'â' => 'a',
'ã' => 'a',
'ä' => 'a',
'å' => 'a',
'æ' => 'ae',
'ç' => 'c',
'è' => 'e',
'é' => 'e',
'ê' => 'e',
'ë' => 'e',
'ì' => 'i',
'í' => 'i',
'î' => 'i',
'ï' => 'i',
'ñ' => 'n',
'ð' => 'o',
'ò' => 'o',
'ó' => 'o',
'ô' => 'o',
'õ' => 'o',
'ö' => 'o',
'ø' => 'o',
'ù' => 'u',
'ú' => 'u',
'û' => 'u',
'ü' => 'u',
'ý' => 'y',
'ÿ' => 'y',

Regards,
F.

greggles’s picture

Status: Active » Closed (duplicate)

Please see http://drupal.org/node/142574

I believe this is already done and you just need to enable it following the instructions available in INSTALL.txt and README.txt

elgandoz’s picture

Just because I came across this issue recently...the fix from Pathauto's INSTALL.txt :

**Transliteration support:
If you desire transliteration support in the creation of URLs (e.g. the
replacement of Á with A) then you will need to install the Transliteration
module, which can be found at http://drupal.org/project/transliteration