Could be great if pathauto can "choose" the right words to remove even if a node have been written in english or some other language..
I mean, if I write a blog post in English the removing of "a,b,the,like" is ok, but in Italian the same words are "un,uno,una,il, ..."

Regards

Comments

greggles’s picture

Status: Active » Postponed

I don't plan to work on this. I think it would be nice as well, but it's not something that's important to me.

greggles’s picture

Status: Postponed » Closed (duplicate)

I believe this issue is now a duplicate of #247758: Use Transliteration module for transliteration and if the exact feature isn't implemented as part of 247758, then this issue should be moved to the Transliteration module queue.

Freso’s picture

Version: 5.x-2.x-dev » 7.x-1.x-dev
Status: Closed (duplicate) » Active

Uh. This has nothing at all to do with transliterating. Words are a combination of characters, transliterating only operates on one character (at a time).

greggles’s picture

Sorry. I got confused on what this issue is about :(

Freso’s picture

Component: Code » i18n Stuff
Status: Active » Closed (won't fix)

Actually, I think this should be part of Drupal i18n's (core or contrib) site variable configuration. For 6.x and earlier, this should be handled by the Internationalization module. The site variable in this case is "pathauto_ignore_words". For 7.x, it'll hopefully be a part of Drupal's core. (*crosses fingers*)

Please report back if Pathauto is confused by having the site variable being i18n'ised.

fletchgqc’s picture

Component: i18n Stuff » I18n stuff

Nice, it works. Thanks a lot, I might have attempted to write code for that. Am now starting to comprehend what actually goes in the variable table...

LarsKramer’s picture

Hi, I added the 'pathauto_ignore_words' variable, and it works fine when updating individual nodes, but when I want to bulk create aliases, it seems that only the strings defined for current language are used. So if my interface is Spanish, Pathauto applies the Spanish "Strings to Remove"-list on all nodes, if interface is English, it uses only the English list, and so on. Is there a way to fix this, or should I go back to a single list for all languages?

(I use version 6.x-1.4 of Pathauto).

lucuhb’s picture

Version: 7.x-1.x-dev » 6.x-1.5
Category: feature » support
Status: Closed (won't fix) » Active

I tried to add the "pathauto_ignore_words" variable in i18n_variables on the settings.php file.
The mention "This is a multilingual variable" is displayed for "Strings to Remove" when I go to pathauto settings.
I put a different list for 2 languages, english and french. The french is the default language of my site. When I create a page in french, the french words to ignore are removed. When I create an english traduction of this page, it is the words defined for french that are removed, and not words defined for english as expected.
Is there somethings else to do to make multilangual variables work for pathauto_ignore_words ?

Pathauto version : 6.x-1.5
i18n version : 6.x-1.9

lucuhb’s picture

Version: 6.x-1.5 » 7.x-1.x-dev
Category: support » feature
Status: Active » Closed (won't fix)

It seems to works now

Ludo.R’s picture

Category: feature » support

I can't make it work.

I've added this to my settings.php :

$conf['i18n_variables'] = array(
  'pathauto_ignore_words',
);

But nothing's happening.

How did you do?

Thanks!

Ludo.R’s picture

Status: Closed (won't fix) » Active