Vietnamese characters for pathauto.

We know to use pathauto module in drupal to make URL friendly but the default file i18n-ascii.txt not support Vietnamese characters.

For sample , your title "Tường thuật trực tiếp giải bóng đá Tây Ban Nha Villarreal gặp Barcelona" would be :

 

t%C6%B0%E1%BB%9Dng-thu%E1%BA%ADt-tr%E1%BB%B1c-ti%E1.....

 

but if you Vietnamese filter :

 

tuong-thuat-truc-tiep-giai-bong-da-tay-ban-nha-villarreal-gap-barcelona

 

Very nice , huh?

The file i18n-ascii.txt can be download here.

Here is the list of charaters in Vietnamese :

á = "a"
Á = "a"
à = "a"
À = "a"
ả = "a"
Ả = "a"
ã = "a"
à = "a"
ạ = "a"
Ạ = "a"
ă = "a"
Ă = "a"
ắ = "a"
Ắ = "a"
ằ = "a"
Ằ = "a"
ẳ = "a"
Ẳ = "a"
ẵ = "a"
Ẵ = "a"
ặ = "a"
Ặ = "a"
â = "a"
 = "a"
ầ = "a"
Ầ = "a"
ấ = "a"
Ấ = "a"
ẩ = "a"
Ẩ = "a"
ẫ = "a"
Ẫ = "a"
ậ = "a"
Ậ = "a"
é = "e"
É = "e"
è = "e"
È = "e"
ẻ = "e"
Ẻ = "e"
ẽ = "e"
Ẽ = "e"
ẹ = "e"
Ẹ = "e"
ê = "e"
Ê = "e"
ế = "e"
Ế = "e"
ề = "e"
Ề = "e"
ể = "e"
Ể = "e"
ễ = "e"
Ễ = "e"
ệ = "e"
Ệ = "e"
í = "i"
Í = "i"
ì = "i"
Ì = "i"
ỉ = "i"
Ỉ = "i"
ĩ = "i"
Ĩ = "i"
ị = "i"
Ị = "i"
ó = "o"
Ó = "o"
ò = "o"
Ò = "o"
ỏ = "o"
Ỏ = "o"
õ = "o"
Õ = "o"
ọ = "o"
Ọ = "o"
ô = "o"
Ô = "o"
ố = "o"
Ố = "o"
ồ = "o"
Ồ = "o"
ổ = "o"
Ổ = "o"
ỗ = "o"
Ỗ = "o"
ộ = "o"
Ộ = "o"
ơ = "o"
Ơ = "o"
ớ = "o"
Ớ = "o"
ờ = "o"
Ờ = "o"
ở = "o"
Ở = "o"
ỡ = "o"
Ỡ = "o"
ợ = "o"
Ợ = "o"
ú = "u"
Ú = "u"
ù = "u"
Ù = "u"
ủ = "u"
Ủ = "u"
ũ = "u"
Ũ = "u"
ụ = "u"
Ụ = "u"
ư = "u"
Ư = "u"
ứ = "u"
Ứ = "u"
ừ = "u"
Ừ = "u"
ử = "u"
Ử = "u"
ữ = "u"
Ữ = "u"
ự = "u"
Ự = "u"

 

 

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
9 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.