Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
kikko CreditAttribution: kikko commentedComment #3
zckpp CreditAttribution: zckpp as a volunteer and commentedHi 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'));
}