• Resolved peopleinside

    (@peopleinside)


    Hi, I hope you are well.
    On my website footer I have a link to a page “Content & quotes” that I also linked in this topic. The title also of this page is Content & quotes but seems your plugin has issue translating something that has the character &.

    In Italian is “Contenuti & citazioni” and your plugin translate in “& Quote content”

    Could you resolve this behavior?

    Thank you 💖

    To reproduce you can open the page linked, translate them in English with your plugin then you will see the error in the translation.

    • This topic was modified 5 days, 1 hour ago by peopleinside. Reason: Improving the end of the message with steps to reproduce

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Julien MA Jacob

    (@wpr0ck)

    Hello,

    Can the translated text be edited using the wpLingua translation editor ?

    Best regards,

    Thread Starter peopleinside

    (@peopleinside)

    Hi, I hope you are well and thank you for your reply!

    Can the translated text be edited using the wpLingua translation editor ?

    Yes but there is not only a single translation to fix.
    The issue is that everywhere where the & is present seems the plugin has issue on translate.

    For example I translated the menu item but also the SEO description was wrong translated because of the presence of the symbol &.

    Plugin Contributor Julien MA Jacob

    (@wpr0ck)

    Thank you for your feedback. It helps me better understand the issue. It seems that the “&” character is encoded in an unexpected way in your case, which results in an unknown token for our machine translation API. I’ll need to run some tests on my end to find a solution. I’ll keep you posted as soon as I know more.

    Plugin Contributor Julien MA Jacob

    (@wpr0ck)

    Hello,

    I have tested this on my side with the same type of text, including &, “& amp ;” and “& 038 ;” (I added spaces here in the encoded characters to make them readable here), but unfortunately I cannot reproduce the issue.

    This may indicate that the issue is specific to the configuration or content processing on your website.

    As a test, could you please try adding a wpLingua dictionary rule to never translate the & character. Then, please regenerate the affected translations and check whether the issue is resolved.

    If that does not work, you can also try adding rules for “& amp ;” and “& 038 ;” (without spaces).

    Could you please let me know if this solution resolves the problem for you?

    Best regards,

    Plugin Contributor Julien MA Jacob

    (@wpr0ck)

    I made a mistake with a character in my previous message, it’s not “& 038 ;” but “& #038 ;”.

    Thread Starter peopleinside

    (@peopleinside)

    For now I will try the manual fix for translation.
    Thank you.

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

You must be logged in to reply to this topic.