Title: WordPress Plugin and Weglot Javascript
Last modified: March 16, 2022

---

# WordPress Plugin and Weglot Javascript

 *  Resolved [hakre](https://wordpress.org/support/users/hakre/)
 * (@hakre)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-and-weglot-javascript/)
 * Is the Weglot Javascript object available by having the WP Plugin activated alone?
 * Or if I would like to use it, I would need to add it my own?
 * I’m curious because right now we have the WP Plugin activated and display the
   language selector. Now I’d like to interact with it plainly from Browser-side
   Javascript and found those docs:
 * [https://developers.weglot.com/javascript/javascript](https://developers.weglot.com/javascript/javascript)
 * I just tried in the Browser console but there is no `Weglot` object available.
 * Then I searched a bit the Weglot Plugin sources from an SVN checkout and I get
   more and more the impression it is done differently – at least for the FE language
   selector.
 * So now I can go on integrating with it directly (DOM + JS) but thought before
   that it’s probably good to know if I was just hunting ghosts or the WP Plugin
   indeed ships with the Javascript API Weglot object already.
    -  This topic was modified 4 years, 2 months ago by [hakre](https://wordpress.org/support/users/hakre/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * (@glx77)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-and-weglot-javascript/#post-15487407)
 * Hi [@hakre](https://wordpress.org/support/users/hakre/) ,
 * thanks for your question. You’re right the weglot js integration and weglot wordpress
   integration are separate so you don’t have access to the weglot js object into
   our wordpress weglot.
 * Don’t hesitate I can help you 😉
    Regards

Viewing 1 replies (of 1 total)

The topic ‘WordPress Plugin and Weglot Javascript’ is closed to new replies.

 * ![](https://ps.w.org/weglot/assets/icon-256x256.gif?rev=3333666)
 * [Translate WordPress with Weglot - Multilingual AI Translation](https://wordpress.org/plugins/weglot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weglot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weglot/)
 * [Active Topics](https://wordpress.org/support/plugin/weglot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weglot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weglot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-and-weglot-javascript/#post-15487407)
 * Status: resolved