Wrong language declaration in html document


(Thorsten Beck) #1

Hello,

I just saw that after checking the source code of my website at https://beck-webdesign.de, that the language for the website is set to English, the html lang=EN.

The Settings - General are set to German language, changing for every page the language settings to German doesn’t help either.
In regards of SEO that is really not optimal as the target audience is in Germany.

I am using RapidWeaver 8.0.3, Stacks 3.6.4, Foudry 1.3.3.6, Potion Pack 1.3.2 and Alloy 1.0.3.

Any suggestions?


(Jan Fuellemann) #2

Did you set the language in the Foundry control stack to German as well?


(Thorsten Beck) #3

Hi @Fuellemann, thanks for the reply.

Wasn’t sure about the settings but yes, they are set.
Tried now all possible settings where page language can be set to set in German. Still same result.
The amazing thing is, that the source code is saying EN language, checking the elements is showing DE language. Kind of strange.
I tried now as well on RW 7, same issue.
Verifying with different browsers (Google Chrome, Google Canary, Firefox, Firefox Developer Edition and Safari) whenever viewing the source code (also in RW itself) shows the language set to EN, inspecting elements indicates language DE.


(Adam Shiver) #4

Foundry sets the language on the fly when the page loads via JavaScript. This is why you see it in the Elements view and not the source.


(Thorsten Beck) #5

Thanks @Elixir for the quick reply.

Was wondering what is wrong. All good now.