Download & Extend

Extend transliterate() with maxlength

Project:Drupal core
Version:8.x-dev
Component:transliteration system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

As the transliteration can differ in the output string length from the input we should provide a maxlength parameter.
E.g.: I think we shouldn't split "oe" from ö->oe conversion in German, if we limit the outputs length later.

Comments

#1

It seems to me that anyone calling the transliteration methods could just chop the resulting string to the maximum length that they need. I don't see why the transliteration class needs to do that itself?

#2

Category:task» feature request