Joomla html language declaration

ram126
2 Posts
ram126 posted this 02 November 2016

Hello Themler,

The themler template is not declaring the language used by joomla. It only shows html dir="ltr"> on each page of the site missing the language. This should be, in our case, html dir="ltr" lang="it-it">. How to fix??
Component.php shows the variable for this, but nothing comes out.

This is not a multilingual site issue. Only one language.

thanks

Hello Themler, The themler template is not declaring the language used by joomla. It only shows html dir="ltr"> on each page of the site missing the language. This should be, in our case, html dir="ltr" lang="it-it">. How to fix?? Component.php shows the variable for this, but nothing comes out. This is not a multilingual site issue. Only one language. thanks
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 07 November 2016

Hello,
you may add custom META tag with language

<meta name="language" content="English">  

under Home tab >> Settings >> Additional HEAD HTML

regards,
Aileen

Hello, you may add custom META tag with language <meta name="language" content="English"> under Home tab >> Settings >> Additional HEAD HTML regards, Aileen
ram126
2 Posts
ram126 posted this 07 November 2016

Dear Aileen, this is not the way to go. Specifying language with the meta element IS NOT RECOMMENDED. No longer used in HTML5.
This seriously impairs the SEO of the site. No crawler detects that.
The language declaration must go on the html tag. Even Artisteer knew that...
Please provide a working solution.

Best Regards

Dear Aileen, this is not the way to go. Specifying language with the meta element IS NOT RECOMMENDED. No longer used in HTML5. This seriously impairs the SEO of the site. No crawler detects that. The language declaration must go on the html tag. Even Artisteer knew that... Please provide a working solution. Best Regards
Support Team
Support Team posted this 10 November 2016

Hello,
right now the only way to add language attribute to HTML tag is to edit the exported template files.
But please remember that the files are overwritten every time the theme is saved or exported.

regards,
Aileen

Hello, right now the only way to add language attribute to HTML tag is to edit the exported template files. But please remember that the files are overwritten every time the theme is saved or exported. regards, Aileen
sven17
1 Posts
sven17 posted this 31 July 2017

The missing lang tag in the HTML-tag is an SEO disaster. Because Google uses this tag for targeting search results. Please implement imediately.

The missing lang tag in the HTML-tag is an SEO disaster. Because Google uses this tag for targeting search results. Please implement imediately.
Support Team
Support Team posted this 01 August 2017

Hi,

The issue is fixed on our end and the fix will be included in the future updates.

Sincerely,
Hella

Hi, The issue is fixed on our end and the fix will be included in the future updates. Sincerely, Hella
You must log in or register to leave comments