Drupal 7 – Pathauto and Transliteration

Pathauto is the most common module which i think almost all Drupal websites use it to format the path alias. Sometime we want to use the node title as part of the path alias but if we are working on multilingual Drupal website, this may lead to non english URL.

So we have the Transliteration module to solve the problem. It takes Unicode text and tries to represent it in US-ASCII characters by attempting to transliterate the pronunciation expressed by the text in some other writing system to Roman letters. In addition, it also helps creating clean file name on file upload.

1. Download and install the Transliteration module.

2. Go to URL aliases setting page. (admin/config/search/path/settings)

3. Enable the Transliterate prior to creating alias setting.
drupal-7-transliteration-1
 

4. Create a node with non-english title and check the Generate automatic URL alias checkbox.

5. You will find the title in the URL is transliterated. The following picture is taken in the node edit page.
drupal-7-transliteration-2
 

Done =)

Reference:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s