Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Lang tag in the HTML  (Read 3857 times)

0 Members and 1 Guest are viewing this topic.


  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 453
Lang tag in the HTML
« on: April 27, 2011, 01:07:06 pm »


I'm using the Curve standard theme, and noticed that in the template for most themes the first lineas follow this template:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang=[b]"en"[/b] lang=[b]"en"[/b] dir="{LANG_DIR}">
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />

and, since the language is harcoded that means less accesibility and SEO.

I think that Coppermins could use the $lang_translation_info['lang_country_code'] tag in the language file to set it, in order to create better HTML code. I believe that it's a bad idea to change it in the theme templates by user, since new versions would revert those modifications.

Thanks in advance,

Jose Luis.
Pages: [1]   Go Up

Page created in 0.139 seconds with 19 queries.