zillo32 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Vosao uses only HTML lang entry for the whole site #549

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter the admin app
2. Choose configuration | site configuration | Select content language
3. Select a language

What is the expected output? What do you see instead?
Since Vosao is a CMS with multilingual support, you would expect that the 
content language field should be set on each page based on the selected 
language of the content...

This may be a nit-picking detail, but my SEO recommendation is that the <HTML 
lang> should match the language of the content.

Is there any way to have this fixed?

Thanks again for the great job your doing with Vosao - I hope that my input 
will help you improve an already great software!

Please use labels and text to provide additional information

Original issue reported on code.google.com by stefaan....@gmail.com on 18 Jan 2012 at 7:37

GoogleCodeExporter commented 8 years ago
It's the responsibility of the author to create template with <HTML lang> tag.

For example: 

<html lang="${language.code}">

Original comment by kinyelo@gmail.com on 18 Jan 2012 at 8:08

GoogleCodeExporter commented 8 years ago
Sorry, kinyelo, I should have RTFM - I mixed up the default language selection 
with the HTML lang config...

I will change my templates as per your recommendation.

You may eventually want to adjust the default templates to make this an 
out-of-the-box feature ;-)

Original comment by stefaan....@gmail.com on 18 Jan 2012 at 8:51