[Resolved] lang attribute based

lucasbceo

Member
Mar 15, 2014
6
0
1
cPanel Access Level
Root Administrator
Hello,

I use cPanel in Brazilian Portuguese, and everytime it says the page is in Spanish and asks if I want to translate it.

So, to solve it, I was thinking of adding a lang attribute based on wich language user has selected.

Something like <html lang="($user.lang)">

What is the correct syntax to make that in a cPanel theme?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I use cPanel in Brazilian Portuguese, and everytime it says the page is in Spanish and asks if I want to translate it.
Is this happening from a specific browser? Have you verified that adding that attribute would modify the language prompt behavior?

Thank you.
 

lucasbceo

Member
Mar 15, 2014
6
0
1
cPanel Access Level
Root Administrator
I have bought a cPanel theme, and since I changed the default theme it stopped happening.

With X3 it says it's Spanish, with this new theme this message doesn't show.

I use Google Chrome
 

cPanelAdamF

cPanel Product Owner
Staff member
Mar 21, 2013
297
136
168
Houston TX
cPanel Access Level
DataCenter Provider
Twitter
We've actually got a fix for this in an upcoming release.

Google Chrome's translation feature is tending to identify our login page as spanish for some reason, so we've added more explicit tags to identify it's language setting.
 

LuckDragon

Member
Jun 6, 2003
17
0
151
We've actually got a fix for this in an upcoming release.

Google Chrome's translation feature is tending to identify our login page as spanish for some reason, so we've added more explicit tags to identify it's language setting.
it has been 2 months since you have a "fix" in the "upcoming release".. and it's still happening.. any idea when this problem is REALLY going to be resolved?