Support » Plugin: mqTranslate » Unable to translate some catagory names containing ' (apostrophe)

  • Hi,

    First of all, thanks for the great plugin and for your effort in the big merge between qtranslate forks!

    I’ve recently discovered a bug when trying to translate category names. The changes are simply not saved for the non-default language, when the character ‘ is present in the name.

    Examples:
    I create a new category called “Test d’bug” in french and “Testing bug” in english and save. No error messages. But if I edit the category both EN and FR fields are set to “Test d’bug”, FR being the default language.
    Control test: If i create a new category called “test bug” in french and “Testing” in english and save, the fields are properly set.

    I guess that there might be a problem when escaping the character ‘ when saving or reading from the mqtranslate_term_name element.

    Let me know if I can help more with this bug.
    Thanks!
    Manu

    https://wordpress.org/plugins/mqtranslate/

  • The topic ‘Unable to translate some catagory names containing ' (apostrophe)’ is closed to new replies.