• On site installed 2 languages : ukrainian and russian.

    Plugin always add “en-US” on every pages on line :

    <div role=”form” class=”wpcf7″ id=”wpcf7-f25-p1437-o1″ lang=”en-US” dir=”ltr”><div class=”screen-reader-response”>
    So I get a mismatch error, because my hreflang and html attribute mismatching.
    How i can change lang=”en-US” for my language “uk” and “ru” ?

    Plugin is updated.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter ewiggmbh

    (@ewiggmbh)

    Thanks for the quick response! It worked but partially. The fact is that I have two languages on my site.
    I changed the language in user settings and created new forms (according to your recommendations). Now the lang attribute shows the code of the language I selected in the user settings (lang=uk). However, when switching to another language, the lang in code still displays “lang=uk”.

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

The topic ‘wrong lang attribute’ is closed to new replies.