Page 1 of 1

Entry links

Posted: Wed Sep 13, 2006 2:28 pm
by Fabien
If I have an accentued character in an entry, the link contains the conversion to the standard character. For example the link to an entry titled "Désir" is http://myblog.com/Desirs.htm
Perfect and readable!

But it doesn't work if the character is an accentued capital letter. For example the link to an entry titled "L'Équateur" is http://myblog.com/Lquateur.htm
Not very user friendly.

I would prefer
http://myblog.com/LEquateur.htm
or better
http://myblog.com/L-Equateur.htm

Is this possible?

Re: Entry links

Posted: Wed Sep 13, 2006 2:35 pm
by garvinhicking
Hi!

We inserted a few custom characters in the include/functions_permalinks.inc.php file, the function serendipity_makeFilename().

This function also can utilize a $i18n array defined in either your templates config.inc.php or your language file and use that to translate specific additional characters.

HTH,
Garvin