bilanguage interfacing RRS feed

  • Question

  • User177932033 posted


    i'm developing a system for a university in cambodia. requested to make it in both english and khmer(cambodian language).

    how can i make the features to select language to translate everything upon chosen. by everything, i also refering to data from database.

    thanks in advanced. 

    Friday, January 21, 2011 11:39 PM


  • User-693248168 posted


    You can put this Div on top of your website page.

    It will call the Google Translator. I am not sure if Cambodian is a language available.

    You can check it out.

    Also note that Google translator is not every exact in terms of syntax and grammer .

    <div style="width:200px;height:25px;float:right;text-align:right">
                                <div id="translate_link">
                                    <a href="#" class="topnav" onclick="document.getElementById('google_translate_element').style.display='inline';document.getElementById('translate_link').style.display='none';return false;">
                                <div id="google_translate_element" style="display:none">
                                                         function googleTranslateElementInit() {
                                                             new google.translate.TranslateElement({
                                                                 pageLanguage: 'en',
                                                                 layout: google.translate.TranslateElement.InlineLayout.SIMPLE
                                                             }, 'google_translate_element');
                                    <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 22, 2011 4:23 AM