Drupal Association members fund grants that make connections all over the world.
In order to create automatic machine names, file names, and URL paths in Drupal, we need to transliterate Unicode characters into the ASCII range. This is currently handled by the contrib Transliteration module (http://drupal.org/project/transliteration).
Get transliteration functionality into Core.
The idea is to create a factory class, with a reference PHP implementation that does basic transliteration, with a hook allowing contrib modules to supply language-specific overrides of the basic transliteration tables.
There was a discussion of providing an implementation that wrapped the PECL intl's Transliterator class (http://php.net/manual/book.intl.php), which is based on the ICU project (http://userguide.icu-project.org/transforms/general), but as this class was poorly documented and not widely available in standard PHP installations, this idea was dropped.
a) [done] Finish the reference implementation.
b) [done] Finish the tests of the reference implementation.
c) [done] Commit this patch.
d) Follow-up tasks and issues:
User interface changes
None. This patch does not provide a user interface.
No API changes -- this is an API addition that will facilitate getting PathAuto into core, but it doesn't change existing APIs.
PASSED: [[SimpleTest]]: [MySQL] 48,184 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 47,877 pass(es). View
|#118||567832.patch||458.92 KB||Damien Tournoud|
FAILED: [[SimpleTest]]: [MySQL] 47,804 pass(es), 1 fail(s), and 0 exception(s). View