How do I add Indian languages in Drupal GTranslate?
Sep 18, 2011 6:10 am by rag_gupta
Sep 18, 2011 6:10 am by rag_gupta
Google translate supports many Indian languages as well: Bihari, Bengali, Kannada etc
How can I add those in Gtranslate?
I don't need other country languages.
I've made the following changes in 2 places in the gtranslate.module but still it does not add those new languages:
$languages = array('en'=>'English','ar'=>'Arabic','bg'=>'Bulgarian','zhCN'=>'Chinese (Simplified)','zhTW'=>'Chinese (Traditional)','hr'=>'Croatian','cs'=>'Czech','da'=>'Danish','nl'=>'Dutch','fi'=>'Finnish','fr'=>'French','de'=>'German','el'=>'Greek','hi'=>'Hindi','it'=>'Italian','ja'=>'Japanese','ko'=>'Korean','no'=>'Norwegian','pl'=>'Polish','pt'=>'Portuguese','ro'=>'Romanian','ru'=>'Russian','es'=>'Spanish','sv'=>'Swedish','ca'=>'Catalan','tl'=>'Filipino','iw'=>'Hebrew','id'=>'Indonesian','lv'=>'Latvian','lt'=>'Lithuanian','sr'=>'Serbian','sk'=>'Slovak','sl'=>'Slovenian','uk'=>'Ukrainian','vi'=>'Vietnamese','sq'=>'Albanian','et'=>'Estonian','gl'=>'Galician','hu'=>'Hungarian','mt'=>'Maltese','th'=>'Thai','tr'=>'Turkish','fa'=>'Persian','af'=>'Afrikaans','ms'=>'Malay','sw'=>'Swahili','ga'=>'Irish','cy'=>'Welsh','be'=>'Belarusian','is'=>'Icelandic','mk'=>'Macedonian','yi'=>'Yiddish','hy'=>'Armenian','az'=>'Azerbaijani','eu'=>'Basque','ka'=>'Georgian','ht'=>'Haitian Creole','ur'=>'Urdu','bn'=>'Bengali','bh'=>'Bihari','gu'=>'Gujarati','kn'=>'Kannada','ml'=>'Malayalam','mr'=>'Marathi','or'=>'Oriya','pa'=>'Punjabi','sa'=>'Sanskrit','te'=>'Telugu','ta'=>'Tamil' );
Re: How do I add Indian languages in GTranslate?
Sep 20, 2011 9:22 am by rag_gupta
Sep 20, 2011 9:22 am by rag_gupta
Edvard why my question has been singled out and has got no replies?
I think except for Hindi other Indian languages in Google translate are in Beta.
Although I've checked to yes to show other Indian languages- Gujarati, Kannada etc by making changes in the above post but those (except Hindi) don't appear in the GTranslate block - please see the top right of my site.
Re: How do I add Indian languages in Drupal GTranslate?
Sep 20, 2011 11:20 am by Edvard
Sep 20, 2011 11:20 am by Edvard
The Indian languages are not available through the Translate API and cannot be added in the Free version. However if you buy the Pro version I can add them for you and they will work.
Re: How do I add Indian languages in Drupal GTranslate?
Sep 20, 2011 12:59 pm by rag_gupta
Sep 20, 2011 12:59 pm by rag_gupta
Will it include both Joomla & Drupal modules for single fee?
I'm using your module in both Joomla & Drupal sites.
Re: How do I add Indian languages in Drupal GTranslate?
Sep 21, 2011 1:28 pm by Edvard
Sep 21, 2011 1:28 pm by Edvard
The Pro license is for one domain name only.
Re: How do I add Indian languages in Drupal GTranslate?
Mar 26, 2012 8:51 am by yogesh224
Mar 26, 2012 8:51 am by yogesh224
Hi Edvard,
I bought a pro license for drupal module, but I cannot add other Indian Language(Bengali, kannada,Gujarati,etc).
Could you please help on how to get this working.
Regards
Yogesh
Re: How do I add Indian languages in Drupal GTranslate?
Mar 26, 2012 5:00 pm by Yana
Mar 26, 2012 5:00 pm by Yana
Hi,
You can use General HTML code for the language selector and add the languages you want but in this case you should use the dropdown list instead of flags. Here is the code :
<!-- GTranslate: http://gtranslate.net/ -->
<select onchange="doGTranslate(this);"><option value="">Select Language</option><option value="en|en">English</option><option value="en|fr">French</option><option value="en|hi">Hindi</option><option value="en|es">Spanish</option><option value="en|sw">Swahili</option><option value="en|ur">Urdu</option><option value="en|yi">Yiddish</option></select>
<script type="text/javascript">
/* <![CDATA[ */
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;var lang=lang_pair.split('|')[1];var plang=location.pathname.split('/')[1];if(plang.length !=2 && plang != 'zh-CN' && plang != 'zh-TW')plang='en';if(lang == 'en')location.href=location.protocol+'//'+location.host+location.pathname.replace('/'+plang+'/', '/')+location.search;else location.href=location.protocol+'//'+location.host+'/'+lang+location.pathname.replace('/'+plang+'/', '/')+location.search;}
/* ]]> */
</script>
<script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>
You can add more options like this:
<option value="en|gu">Gujarati</option>
You need to create additional folders in the /gtranslate/cache directory i.e : /gtranslate/cache/gu
You will find the language codes here:
http://code.google.com/apis/language/tr ... .html#enum
Re: How do I add Indian languages in Drupal GTranslate?
Mar 27, 2012 1:10 am by trotsak
Mar 27, 2012 1:10 am by trotsak
yogesh224, have you solved your problem? I have multilingual site http://pen4pals.com/ on Drupal so I was amazing how few languages has Gt Pro.
Re: How do I add Indian languages in Drupal GTranslate?
Mar 27, 2012 8:12 am by Yana
Mar 27, 2012 8:12 am by Yana
Hi,
You can use the general HTML code for the language selector .
Hi Edvard,
I bought a pro license for drupal module, but I cannot add other Indian Language(Bengali, kannada,Gujarati,etc).
Could you please help on how to get this working.
Regards
Yogesh
Re: How do I add Indian languages in Drupal GTranslate?
Dec 21, 2017 7:57 am by ashleyjolly
Dec 21, 2017 7:57 am by ashleyjolly
I want to buy the pro version for my website. Can you tell me the price or plans
Re: How do I add Indian languages in Drupal GTranslate?
Dec 25, 2017 9:06 am by Yana
Dec 25, 2017 9:06 am by Yana
Hi,
You can check our website to compare the pricing https://gtranslate.io#pricing
Re: How do I add Indian languages in Drupal GTranslate?
Dec 28, 2017 7:31 am by ExpertDeveloper
Dec 28, 2017 7:31 am by ExpertDeveloper
Will the startup version work for us we are a 30 people organization.
Re: How do I add Indian languages in Drupal GTranslate?
Dec 28, 2017 12:06 pm by Yana
Dec 28, 2017 12:06 pm by Yana
Hi,
Yes, it should work. You can subscribe to the trial version and test for free for 15 days.
Please note that if you are using https you should choose a plan with SSL support
https://gtranslate.io/#pricing
Re: How do I add Indian languages in Drupal GTranslate?
Jan 27, 2018 7:26 am by eh3an2011
Jan 27, 2018 7:26 am by eh3an2011
Will it include both Joomla & Drupal modules for single fee?
my blog:طراحی سایت
https://gtranslate.io/#pricing" rel="nofollow" target="_blank"
Re: How do I add Indian languages in Drupal GTranslate?
Jan 29, 2018 7:37 am by Yana
Jan 29, 2018 7:37 am by Yana
Hi,
One subscription is for one domain name but you can use it for all platforms including Joomla and Drupal.
Re: How do I add Indian languages in Drupal GTranslate?
Feb 18, 2018 11:37 pm by samhillt
Feb 18, 2018 11:37 pm by samhillt
Hi,
One subscription is for one domain name but you can use it for all platforms including Joomla and Drupal.
and wordpress too ?
Re: How do I add Indian languages in Drupal GTranslate?
Feb 19, 2018 3:28 pm by Yana
Feb 19, 2018 3:28 pm by Yana
Hi,
Yes, and for wordpress too.
Re: How do I add Indian languages in Drupal GTranslate?
Feb 28, 2018 9:44 pm by indigekie
Feb 28, 2018 9:44 pm by indigekie
I Have this problem ..
Re: How do I add Indian languages in Drupal GTranslate?
Mar 4, 2018 2:55 pm by Yana
Mar 4, 2018 2:55 pm by Yana
Hi,
Please contact us via live chat support and we will help you.
Re: How do I add Indian languages in Drupal GTranslate?
Mar 6, 2018 11:56 am by AppJetty
Mar 6, 2018 11:56 am by AppJetty
Hello, i am interested to buy the pro version for our site. Can you please tell me the price or plans?
Re: How do I add Indian languages in Drupal GTranslate?
Mar 7, 2018 12:29 pm by Yana
Mar 7, 2018 12:29 pm by Yana
Hi,
You can check https://gtranslate.io#pricing
Re: How do I add Indian languages in Drupal GTranslate?
Mar 28, 2018 11:42 am by AppJetty
Mar 28, 2018 11:42 am by AppJetty
The Pro license is for one domain name only.
Re: How do I add Indian languages in Drupal GTranslate?
Mar 28, 2018 7:40 pm by Yana
Mar 28, 2018 7:40 pm by Yana
Yes, license is for one domain name.
Re: How do I add Indian languages in Drupal GTranslate?
Nov 17, 2018 5:49 am by customeronlineinfo
Nov 17, 2018 5:49 am by customeronlineinfo
I want to add hindi language in my drupal blog so can anyone help me plz. My blog is customeronlineinfo.in
Re: How do I add Indian languages in Drupal GTranslate?
Nov 19, 2018 8:28 am by Yana
Nov 19, 2018 8:28 am by Yana
Hi,
We have free and paid versions of GTranslate. Please check
Please check https://gtranslate.io#pricing" rel="nofollow" target="_blank
Re: How do I add Indian languages in Drupal GTranslate?
Dec 10, 2018 7:42 am by customeronlineinfo
Dec 10, 2018 7:42 am by customeronlineinfo
i also want to add multilanguage on my drupal blog customeronlineinfo .in and i can pay for it also. So, please guide me the best solution for that. I m helpless right now.
Re: How do I add Indian languages in Drupal GTranslate?
Dec 13, 2018 6:22 pm by Yana
Dec 13, 2018 6:22 pm by Yana
Hi,
Go to https://gtranslate.io and check the features. You can subscribe to paid version or download free version.
SIMILAR TOPICS
Gtranslate Multisite | Feb 12, 2019 7:27 am | Replies: 1 | Post by: infact_dat |
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
Add-on gtranslate no longer works | Feb 2, 2019 6:01 am | Replies: 1 | Post by: DarylDixon |
Instragram and Gtranslate...!!!! | Dec 19, 2018 11:18 am | Replies: 1 | Post by: zackfernandes |