StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 07-11-2012, 09:25 AM
etoconline.com etoconline.com is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Mar 2010
Posts: 12
Arrow How to change the Language Meta Tag from English to another language

Dear StudioPress Gurus,

I have a website in French using the News Child Theme and I'm trying to change the Language Meta Tag on my website.

In the default StudioPress/Genesis Theme, it looks like this:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
But I would like to change it to french. I read online that I should modify it to add something like:
HTML Code:
<meta http-equiv="Content-Language" content="FR">
It also says that I should modify the header.php but when I open the header.php in the Genesis folder it says not to do so under any circumstances. (I couldn't figure out either where to add it)

So my questions are:

1- How can I change
HTML Code:
lang="en-US" xml:lang="en-US">
to change it to french?

2- Should I also add the
HTML Code:
<meta http-equiv="Content-Language" content="FR">
meta tag and if so, how?

Thanks a lot in advance for taking the time to read my questions.

Best Regards.
  #2  
Old 07-11-2012, 09:35 AM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

you need to update your language in the wp-config.php file. This will also enable correct translation/localization.
http://codex.wordpress.org/Translati..._Localizations
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

Tags
language, meta tag, translations

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My site viewed in Asia Pacific etc. Will english language be johntaps General Discussion 2 11-03-2009 07:40 PM
Change language benolivares General Discussion 1 02-07-2009 01:53 PM


All times are GMT -5. The time now is 06:35 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.