Closed (fixed)
Project:
Transliteration
Version:
7.x-3.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2012 at 09:12 UTC
Updated:
1 Feb 2012 at 12:21 UTC
I need transliteration in a personal module I'm developping.
Because I use transliteration module on my drupal site, I wonder how I can use functions of that module in my module.
In readme.txt, I found :
Third party developers seeking an easy way to transliterate text or file names
may use transliteration functions as follows:
if (function_exists('transliteration_get')) {
$transliterated = transliteration_get($text, $unknown, $source_langcode);
What do I need to make it work?
Comments
Comment #1
smk-ka commentedCopy and paste the above code snippet in your module where you need it. A description of the function arguments can be found here:
transliteration_get()(hint: you only need to pass the text to transliterate).Comment #2
sahuni commentedSo easy, thanks for all!