transliterate api not converting english number to equvivalent gujarati

94 views
Skip to first unread message

dipak parekh

unread,
Jul 13, 2016, 10:15:00 AM7/13/16
to Google AJAX APIs
I have transliterate code to convert english number to gujrati number but is not converting. on same hand api can convert english alphabet to gujarati.!
any solution for this problem.?

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
    // Load the Google Transliterate API
    google.load("elements", "1", {
        packages: "transliteration"
    });
    function onLoad() {
        var options = {
            sourceLanguage:
            google.elements.transliteration.LanguageCode.ENGLISH,
            destinationLanguage:
            [google.elements.transliteration.LanguageCode.GUJARATI],
            shortcutKey: 'ctrl+g',
            transliterationEnabled: true
        };
        // Create an instance on TransliterationControl with the required
        // options.
        var control =
        new google.elements.transliteration.TransliterationControl(options);
        // Enable transliteration in the textbox with id
        // 'transliterateTextarea'.
        control.makeTransliteratable(['Name']);
        control.makeTransliteratable(['Address']);
        control.makeTransliteratable(['City']);
        control.makeTransliteratable(['State']);
        control.makeTransliteratable(['PhoneNumber']);
        control.makeTransliteratable(['OpenningAccountAmt']);
        control.makeTransliteratable(['OpeningCreditAmt']);
        control.makeTransliteratable(['OpeningDebitAmt']);
        control.makeTransliteratable(['Description']);
    }
    google.setOnLoadCallback(onLoad);
</script>

chi...@fluvina.com

unread,
Aug 9, 2016, 6:29:39 AM8/9/16
to Google AJAX APIs
Hi,

I have also the same issue. Number are not being converted into Gujarati.
It was working before some month i think. Actually it's being converted in all other language.
I have mailed Google but no reply yet.
Pls let me know you have solved this issue.
Reply all
Reply to author
Forward
0 new messages