Google Input Tools in Discourse


(Vikas Dangi) #1

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
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.


(Vikas Dangi) #2

Hi @codinghorror can you please solve my problem?


(Vinoth Kannan) #3

It will help you


(Vikas Dangi) #4

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


(Vinoth Kannan) #5

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.


(Vikas Dangi) #6

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.


(Vinoth Kannan) #7

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

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


(Vikas Dangi) #8

I didn’t know much about javascript and JQuery. Can you help me with full customization?


(Vinoth Kannan) #9

Yes. I can create a opensource plugin for you. PM me with your budget.