Explaining the Language Setting in Foundation Site Styles


There is a setting in the Foundation Site Styles that let you set the language for your website.

Site Styles Language Setting

This setting sets the language attribute of starting HTML tag. This language is set via JavaScript APIs at page load to inform the browswer what language the website is using. If you inspect the page in the browswer, you will see the proper languate that you defined is set. You can not do a View Source that shows the HTML file. Joe uses JS because there is no direct way for us to modify this with the RapidWeaver APIs. PHP could be used, but then every page would need to be in PHP.