Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    First of all: Very nice Plugin! In fact, it is so nice (and useful) I dug into the code to find a solution for the qTranslate “problem”. And I possibly found one 🙂

    The problem seems to be how the strings get escaped. qTranslate relies on XML-Tags to identify different languages (see first post from oolongtea).

    The two functions esc_attr() and esc_html() are escaping the needed tags for qTranslate to identify the different languages.

    But there are translation-ready alternatives to these functions:
    esc_attr__() and esc_html__().

    I’m not sure if there are implications of using these functions, but they work 🙂 I haven’t witnessed any downsides.

    Hope this helps.

Viewing 1 replies (of 1 total)