• Resolved financialcalculators

    (@financialcalculators)


    Will Google Language Translator 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 Author edo888

    (@edo888)

    Hi,

    In our free version we translate the rendered HTML after the page is ready. So if you have any text in javascript files which contribute to the final HTML, it will be translated. Just try it and if you have issues, let us know to check.

    Generally it is not recommended to have labels in javascript files and you should try to avoid that. Also, building logic based on fixed text must be avoided, otherwise the logic will break when texts are translated.

    Thanks! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Translate strings in JavaScript’ is closed to new replies.