Using environment locale looks a very good step in the right direction.
Example of clean up in "JSF" template pages of admin_gui to be done :
+ http://localhost:4848/asadmin/admingui/TopFrameset to be put as XHTML 1.0
Frameset ( http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset )
( the default tree display), there you got a big m*ss : for instance, two html
tag level ! XHTML doctype, but then lots of errors with single image tag without
/ at the end, bad entity encoding in URL for ampersand, usage of non-standard
Actually, most of the pages have lots of page cleaning to comply with w3c
specification (clening in verious module to be done, then ...).
To find what has to be done, use w3c validator by pasting the generated admin
code, it will show you what needs t o be fixed.
Current templating solution use make page validation very complex .. IMHO,
moving the "template" of admin to facelet should be anticipated at some point of
time to provide an easy way of changing the GF GUI without having to dig in
complex code. Facelet provide an JSF and XML compatible way to define templates
in an efficient and powerfull way.