Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Remove default lang="en"

Featured Lock Resolved Bug
Hi everyone,
I noticed that in the index.php file of the "Medico" template the html code of the content language is set to:


<html lang="en">


in my opinion this is a stretch for those who have content in another language, in fact if I set from the Joomla backend another default language is not taken to the html output because it is forced on "en" and this cause serious SEO problems. In my opinion the code in the index.php file should be:


<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">


My question is: is this forcing only on this template or even on the others? In my opinion you should change this setting on all templates.

8 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please follow the instructions.

Go to the file location
templates/shaper_medico/index.php

Find out the code & remove the en code

<html lang="en">


Or, you can add the default Joomla code insdeat of the above code

<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">


-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please disable the System - Language Code from plugin manager.

http://prntscr.com/n1f1bg

-Thanks

Gianluca Pantaleo

More than a month ago #Permalink
Hi there,

Please disable the System - Language Code from plugin manager.

http://prntscr.com/n1f1bg

-Thanks

Hi, it was already disabled.

Toufiq - Staff

More than a month ago #Permalink
Hi there, Send me the Joomla administrator access via PM. Thanks

Gianluca Pantaleo

More than a month ago #Permalink
Hi there, Send me the Joomla administrator access via PM. Thanks

Sorry man, there is no reason to give you administrator access because as you can see by downloading the Medico template and open the index.php you can see the code <html lang="en">

Gianluca Pantaleo

More than a month ago #Permalink
ok, please consider to make this change in future releases of every your templates, thanks.

Toufiq - Staff

More than a month ago #Permalink
ok, please consider to make this change in future releases of every your templates, thanks.


Hi there, Sure and Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Toufiq

Toufiq

Total Accepted Answers: 82
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 5
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

296310

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us