• I have a blog in English. However, I want to write a single post in French. Just one page – nothing more.

    If I just publish the french post, the HTML of the post will still show the lang=”en-US” value.

    Questions:

    1. Is it bad if I just publish the post in french anyway?
    2. Is there a way to tell WordPress that only this page is french?

    Thanks for helping me out!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    There is not a way in WordPress to do that. It could be done by a plugin or custom code though.

    Also, you should consider the rest of the page as well, because if the whole page is not entirely in French, then maybe setting the lang to something else might not be the exact right thing to do.

    Thread Starter bhagwad

    (@bhagwad)

    That’s a good point. I ended up using a plugin to change the language “per post”. Here’s the page:

    www.wp-tweaks.com/les-moins-cher-annuel-hebergements-web-francais/

    You can see that the language is fr-FR in the HTML…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Write ONE Post in New Language?’ is closed to new replies.