Today I have spent some time tweaking transliteration patterns in 'i18n-ascii.txt' file to only learn after my customization did not work, that 6.x-2.x-dev version of the module relies on Transliteration module to transliterate url aliases. Personally I liked very much as it was before - the possibility to tweak transliteration in my own way. However, if the modules' maintainers have decided to go with Translation module, then I believe in this case 'i18n-ascii.txt' and 'i18n-ascii.exmaple.txt' files should be removed from distribution as deprecated ones.

Or would it be possible to leave old way as optional in the modules settings?

CommentFileSizeAuthor
#6 i18n-ascii.txt5.73 KBbetoaveiga

Comments

greggles’s picture

Component: Miscellaneous » i18n Stuff
Priority: Minor » Normal

Thanks for your feedback on the module. At a minimum you are right that the example file should be removed.

Could you please experiment with the Transliteration module for a little while and see if you find something which was possible with i18n-ascii.txt that is no longer possible with http://drupal.org/project/transliteration? If so we'll have to see about improving that module or finding some work-around.

Freso’s picture

Title: Depracated i18n-ascii.txt file » Deprecated i18n-ascii.txt file
Category: task » support

The transliteration file isn't a part of the 6.x-2.x-dev distribution. It was removed in the same commit that hooked into Transliteration. If you still have the file, it's a left over from a previous install – or Drupal's packaging script is broken. Try to unpack the 6.x-2.x-dev file in an empty directory and see if it's still there. Please report back if it is, so we can alert the infra folks.

Also, as greggles already pointed out, you should be able to achieve the same with Transliteration module that you could with the old file – only now it's a module dedicated to transliteration that handles it, which means less code in Pathauto, which means simpler code in Pathauto, which means that Pathauto is easier to maintain. Providing an option between the two is, well, not an option. (Also, the UI is way cluttered already.)

yngens’s picture

Status: Active » Closed (fixed)

Thank you guys for your prompt replies.

greggles, having created this issue http://drupal.org/node/294273 today I have learned that it is possible to tweak Transliteration module to get custom URL aliases. So please disregard my request.

Fresco, indeed I had updated over the existing module, so this part of my alert also turned out not to be false.

Closing the ticket. Thanks again!

Drupal Berlin’s picture

Component: i18n Stuff » Code

Had the same problem and did't understand most of what I read about it, so here goes:

- Install http://drupal.org/project/transliteration
- check the box at admin/build/path/pathauto ('Transliterate prior to creating alias')

That's all Folks!

greggles’s picture

Component: Code » I18n stuff

Ok.

betoaveiga’s picture

StatusFileSize
new5.73 KB

Transliteration module didn't work for me. I downloaded the file here:

http://textpattern.googlecode.com/svn-history/r3347/development/4.x/text...

And put it in the directory of pathauto.

Then I checked the option of transliteration in pathauto general settings.

Hope this helps somebody!

Bye :)

Freso’s picture

If you're using version 6.x-2.x or 7.x-1.x, Pathauto won't read the i18n-ascii.txt file - however, even if you install the Transliteration module, you'll still have to enable transliteration in the Pathauto settings as well.

rionka’s picture

BetoAveiga: Thanks for million times. Finally i can fully understand what i'm messing with. I'm total newbie so the result it WORKS is awesome for me. Thank you very much.

alerivrod’s picture

I have the same problem, but not in the urls, in the title of the nodes. How can i solve it?

Thank you in advance

dave reid’s picture

Fixing node titles themselves are out of scope for Pathauto.