P
P
Pavel2014-10-21 11:19:45
Drupal
Pavel, 2014-10-21 11:19:45

The function of translating a line from transliteration, write it yourself?

Drupal has a transliteration module that allows you to translate strings and file names into transliteration. In my project, in particular, I use the function of this module:

<?php
// переводим строку в транслит
transliteration_get($string);
?>

but, unfortunately for myself, I discovered that there is no inverse function, i.e. it is necessary to translate from transliteration into Russian - is it really possible to write it yourself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UksusoFF, 2014-10-21
@UksusoFF

But why? It still won't translate back.
Do you have $string

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question