# Google Input Tools in Discourse

**URL:** https://meta.discourse.org/t/google-input-tools-in-discourse/48990
**Category:** Support
**Created:** [2016年八月22日 10:54 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990 "2016-08-22T10:54:49Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Vikas\_Dangi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikas_dangi/32/131628_2.png) [@Vikas\_Dangi](https://meta.discourse.org/u/Vikas_Dangi)
#### Post date: [2016年八月22日 10:54 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/1 "2016-08-22T10:54:49Z")

</div>

My website in hindi and my visitors writes in hindi but english fonts. So google input tools is best way to automatically convert english fonts into hindi fonts.  
It is like in this link

> **[Google Input Tools](https://www.google.com/inputtools/try/)**

I have the code install it in new topic form or reply form, so I want to know how can I edit new topic form and reply form.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2016年八月22日 11:58 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/3 "2016-08-22T11:58:06Z")

</div>

It will help you

> <https://stackoverflow.com/questions/28707899/how-to-use-google-input-tools-in-website/28945669#28945669>

---

<div class="post-metadata">

### Author: ![Vikas\_Dangi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikas_dangi/32/131628_2.png) [@Vikas\_Dangi](https://meta.discourse.org/u/Vikas_Dangi)
#### Post date: [2016年八月22日 12:00 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/4 "2016-08-22T12:00:28Z")

</div>

Hi @vinothkannans, I habe already read that. My problem is that how can I implement it in discourse.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2016年八月22日 12:06 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/5 "2016-08-22T12:06:30Z")

</div>

If you are good in javascript & jquery then you can do it easily.

You have to add suggested javascript in Discourse admin’s customization panel. To get current composer textfield (textarea) id use jquery’s css selector.

---

<div class="post-metadata">

### Author: ![Vikas\_Dangi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikas_dangi/32/131628_2.png) [@Vikas\_Dangi](https://meta.discourse.org/u/Vikas_Dangi)
#### Post date: [2016年八月22日 12:22 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/6 "2016-08-22T12:22:55Z")

</div>

I got it. But another problem I am facing is that, what var ids I have to add in javascript code. Also how can I add the language on-off button in editor form.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2016年八月22日 12:27 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/7 "2016-08-22T12:27:18Z")

</div>

> [@Vikas\_Dangi](#):
>
> what var ids I have to add in javascript code

That what I told earlier. To get current composer **textfield (textarea) id** use jquery’s css selector.

> [@Vikas\_Dangi](#):
>
> Also how can I add the language on-off button in editor form.

If you need more usage features it’s better to create a plugin.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年二月25日 17:45 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/10 "2019-02-25T17:45:39Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2019年二月27日 01:07 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/11 "2019-02-27T01:07:53Z")

</div>

@techAPJ / @vinothkannans how common is doing something like this on websites in India?

I know in Hebrew for example I would never see something like this and just rely on fonts in the OS and font selector in the OS.

Technically this can all be done today in a theme component.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2019年二月27日 02:09 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/12 "2019-02-27T02:09:53Z")

</div>

I personally do not see people posting content in [Devanagari](https://en.wikipedia.org/wiki/Devanagari) script on _websites_ very often. I do see the use of [Hinglish](https://en.wikipedia.org/wiki/Hinglish) which is written in English script.

I get a lot of messages on WhatsApp written in Devanagari script but they are mostly forwards… I don’t see people often making an effort to write in Devanagari themselves.

There are very few people who actually know how to write in Devanagari using OS fonts, myself included. For that using [Google Indic Keyboard](https://play.google.com/store/apps/details?id=com.google.android.apps.inputmethod.hindi&hl=en_IN) or [Google Input Tools](https://meta.discourse.org/t/google-input-tools-in-discourse/48990) is the way to go.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2019年二月27日 04:40 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/13 "2019-02-27T04:40:52Z")

</div>

Same here. “Google Indic Keyboard” for mobile is famous among common people to write in Tamil language. But in desktop we don’t have an easy solution except “Google Input Tools”. In some professional use cases people are using Windows Tamil fonts/keyboard.

> [@vinothkannans](#):
>
> #### [How to Use Google Input Tools in Website](https://stackoverflow.com/questions/28707899/how-to-use-google-input-tools-in-website/28945669#28945669)

> [@vinothkannans](#):
>
> You have to add suggested javascript in Discourse admin’s customization panel.

Anyway it is no longer supported to add “Google Input Tools” on websites using JavaScript. Instead either it should be used by the [Chrome extension](https://chrome.google.com/webstore/detail/google-input-tools/mclkkofklkfljcocdinagocijmpgbhab) or in the URL [https://www.google.com/inputtools/try/](https://www.google.com/inputtools/try/). So we can close this topic.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2019年二月27日 09:44 UTC](https://meta.discourse.org/t/google-input-tools-in-discourse/48990/14 "2019-02-27T09:44:17Z")

</div>


