Title: Translate strings in JavaScript
Last modified: July 7, 2021

---

# Translate strings in JavaScript

 *  Resolved [financialcalculators](https://wordpress.org/support/users/financialcalculators/)
 * (@financialcalculators)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/translate-strings-in-javascript-2/)
 * Will Weglot help me with translating strings in custom JavaScript?
 * If so, can you direct me to documentation as to how I need to prepare my script
   files?
 * TIA.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * (@glx77)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/translate-strings-in-javascript-2/#post-14817970)
 * Hi [@financialcalculators](https://wordpress.org/support/users/financialcalculators/),
 * hope you’re fine. sorry for the late response. Yes you can translate strings 
   in custom javascript.
 * You can follow this documentation for example : [https://developers.weglot.com/wordpress/filters/translations-filters](https://developers.weglot.com/wordpress/filters/translations-filters).
 * Don’t hesitate if you need more precision (send me an example of what you want
   to do)
 * Best

Viewing 1 replies (of 1 total)

The topic ‘Translate strings in 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, 9 months ago](https://wordpress.org/support/topic/translate-strings-in-javascript-2/#post-14817970)
 * Status: resolved