The lang attribute does not show the correct language

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
camaleonik
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Jun 21, 2018 10:51 am

The lang attribute does not show the correct language

Post by camaleonik » Thu Jun 21, 2018 11:38 am

On my multilingual site in Joomla 3.8.8, the links, associations and language selections work perfectly but the attribute of the html tag only shows the default Spanish language.
I have tried to change the template to protostar and the problem persists so it is not a problem for the yamato template that is already old.

Yamato template code

Code: Select all

<html class="no-js" lang="<?php echo $this->language; ?>">
https://www.cablesrct.com/
You do not have the required permissions to view the files attached to this post.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18685
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: The lang attribute does not show the correct language

Post by infograf768 » Thu Jun 21, 2018 12:44 pm

It looks like this code is overriden somehow by one of your extensions as I get here, whatever the language
Screen Shot 2018-06-21 at 14.42.29.png
You do not have the required permissions to view the files attached to this post.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Post Reply

Return to “Language - Joomla! 3.x”