HI guys,
I'm a journalist and in some media in Italy we use the puntuuation « and » at the beginning and at the end of a citation. Unfortunately those two signs are not mentioned in the pathauto settings and if I have to strip away from a title I have to put in the "string to remove", where is deprecated.
Is possible to add in the Puntuation section? And if is possible, can i add to the module by myself, until the next release is out?
Thanks a lot

Comments

kikko created an issue. See original summary.

kikko’s picture

Title: Is possible to add « and » to the Punctuation inb the settings » Is possible to add « and » to the Punctuation in the settings
zckpp’s picture

Hi Kikko,

I ran into similar situation and I solved it by a simple custom module that use hook provided by pathauto.

So in your myModule.module file, add this hook alter:
function myModule_pathauto_punctuation_chars_alter(&$punctuation) {
$punctuation['machile_name1'] = array('value' => '«', 'name' => t('read name 1'));
$punctuation['machile_name2'] = array('value' => '»', 'name' => t('read name 2'));
}