Welcome Guest, Not a member yet? Register   Sign In
Hi with is a good language translate API to CI?
#1

Hi all! I am asking for a good Language Translate API to insert in CI is anyone have or library Please Thank you
Do Codeigniter Before Do You!
yekrinaDigitals

Reply
#2

(This post was last modified: 05-24-2022, 03:58 PM by ignitedcms.)

(05-24-2022, 02:47 PM)luckmoshy Wrote: Hi all! I am asking for a good Language Translate API to insert in CI is anyone have or library Please Thank you

PHP Code:
<!DOCTYPE html>
<
html lang="en-US">
<
head>
    <
title>
        
How To Add Google Translate
        Button On Your Webpage 
?
    </
title>
</
head>
<
body>
    <
div id="google_translate_element"></div>

    <
p>This is a test</p>
    
    <
script type="text/javascript">
        function 
googleTranslateElementInit() {
            new 
google.translate.TranslateElement({
                    
pageLanguage'en'
                
},
                
'google_translate_element'
            
);
        }
    </
script>

    <
script type="text/javascript" src="https://translate.google.com/translate_a/element.js?
        cb=googleTranslateElementInit"
>
    </
script>

</
body>
</
html

https://stackoverflow.com/questions/6113...slate-html
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#3

(05-24-2022, 03:51 PM)ignitedcms Wrote:
(05-24-2022, 02:47 PM)luckmoshy Wrote: Hi all! I am asking for a good Language Translate API to insert in CI is anyone have or library Please Thank you

PHP Code:
<!DOCTYPE html>
<
html lang="en-US">
<
head>
    <title>
        How To Add Google Translate
        Button On Your Webpage 
?
    </title>
</
head>
<
body>
    <div id="google_translate_element"></div>

    <p>This is a test</p>
    
    
<script type="text/javascript">
        function googleTranslateElementInit() {
            new google.translate.TranslateElement({
                    pageLanguage'en'
                },
                'google_translate_element'
            );
        }
    </script>

    <script type="text/javascript" src="https://translate.google.com/translate_a/element.js?
 cb=googleTranslateElementInit"
>
    </script>

</
body>
</
html

https://stackoverflow.com/questions/6113...slate-html

THANK YOU @igniter WORKED
Do Codeigniter Before Do You!
yekrinaDigitals

Reply




Theme © iAndrew 2016 - Forum software by © MyBB