• Resolved Adde

    (@andystreet)


    I’m trying to translate this plugin but there are some text strings that are JavaScript and can’t be translated. Like the “ADD SECTION” and “ADD TEMPLATE” boxes, and the “Choose Layout” and “Choose Template” headers. How do I translate or change those?

    I located the .js files via Inspect Element but edits of those files with new text do not show after uploading.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support dimned

    (@dimned)

    Hi @andystreet,
    Thank you for reporting this. The mentioned strings are not really available in the .pot file and they can be edited in the core JS file. here is a list for you to edit the needed strings:

    – mp/ce/editor.js
    – mp/ce/editor.min.js
    – mp/ce/iframeProd/editor.js
    – mp/ce/iframeProd/editor.min.js

    Let us know if you have any further questions.

    Thread Starter Adde

    (@andystreet)

    Thanks for the reply @dimned. I did locate those files and make the changes; the issue was that they did not show in the editor. They have propagated now, so it seems there is some delay, could be a caching issue.

    Still, these boxes are central to the functionality and really need to be in the .pot file, at least the strings should be internationalized. Now it is a lot of work to fix it, and changes will be lost when upgrading. The same goes for all labels like “Choose layout” and “Save template”.

    Plugin Support dimned

    (@dimned)

    Hi @andystreet,
    Thank you for your reply. We will keep this in mind for further plugin development. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate or change text’ is closed to new replies.