• Resolved Senri Miura

    (@senribb)


    Thank you for providing us with such a great plugin.

    With the recent update of “Code Block Pro”, the screen breaks when the translation plugin is running. This did not happen in previous versions. Has there been any fundamental change in specifications recently?
    I would like to know the cause.
    This is a test site, and the URL is shown below. (Error)

    Translated screen (Error) ☞ https://senris.com/test/test-ng/?lang=en
    Untranslated screen ☞ https://senris.com/test/test-ng/

    I also have a Syntax Highlighting plugin called “Highlighting Code Block”, which works fine as shown in the URL below.

    Translation screen (Normal) ☞ https://senris.com/test/test-ok/?lang=en
    Untranslated screen ☞ https://senris.com/test/test-ok/

    The translation plugin used is Transposh (version 1.0.9.5). I am aware of the security issues with this plugin, but is this an issue that I should contact the author of this plugin?

    Please advise.

    Senri

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kevin Batdorf

    (@kbat82)

    Hi,

    In a recent change I switched from using html attributes to using a textarea to render the code in the “copy” button and I suspect the translate plugin might be doing something with that now. Can you go into the button settings on the code block uncheck the option to use the textarea?

    If yes, you could just use that option going forward. Otherwise do you know if there’s a way to tell the plugin “ignore this section when translating”?

    If no, I’ll try to download the plugin and see if I can reproduce it. I may need a few days for that though.

    Thread Starter Senri Miura

    (@senribb)

    Thank you for your quick reply.
    It seems that you guessed the problem.

    The following URL has the “use the textarea” option unchecked in the copy button settings.
    Then it works properly.

    https://senris.com/test/test-ng2/?lang=en

    Note that the plugin Tranposh is no longer available for download from the WordPress directory, but can currently be downloaded from the following site:

    https://transposh.org/

    Thread Starter Senri Miura

    (@senribb)

    This is a request, but could you please uncheck the “use the textarea” option by default?
    Currently it’s on by default, which makes it difficult to use.

    Plugin Author Kevin Batdorf

    (@kbat82)

    It should persist your last choice so that when you create a new block it’s using that value. Is that not happening?

    Plugin Author Kevin Batdorf

    (@kbat82)

    Also, the reason textarea is the default is because caching plugins will strip out spaces and other whitespace characters if not in a textarea.

    Thread Starter Senri Miura

    (@senribb)

    I see. To confirm, I created a new blog and pasted the “Code Block Pro” block, and found that the “use the textarea” option I set in the previous blog was OFF, so I confirmed that the previous setting was retained.
    Therefore, this problem can be considered resolved. Thank you very much.

    Plugin Author Kevin Batdorf

    (@kbat82)

    Great, thanks for following up and reporting the issue. I’ll also look into all translation plugins to see if I can add something in general to request they ignore that textarea. Let me know if you spot any other issues.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Screen breaks due to conflict with translation plugin’ is closed to new replies.