ProgressiveCoders / projects

163 stars 5 forks source link

PhoneYourRep is looking for translators #31

Open rapi-castillo opened 7 years ago

rapi-castillo commented 7 years ago

Do we have any translators in here? #phone-your-rep wants to translate to addt'l languages. So far we have some Spanish in need of a 2nd pair of eyes, and a possible lead on Mandarin.

progcodepreston commented 7 years ago

Here is the Code to have Google translate the site automatically. The translation banner will automatically be displayed when the default browser language of the visitor is different from the language of your page. No dropdown will be displayed.

Paste this code onto your website

Copy and paste the following code snippets onto every page you want to translate Do not remove, conceal or alter the Google logo that is presented in websites containing the plugin. Place this snippet where you'd like to display the Website Translator plugin on your page

<div id="google_translate_element"></div><script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_LEFT}, 'google_translate_element'); } </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Now since we chose the automatic display option, there will NOT be a language selector on the page.

rapi-castillo commented 7 years ago

@progcodepreston @dave-mahler is this still an issue ?

valsacar commented 7 years ago

If this is still an issue, I can probably get you some assistance with Korean if you need it.