[jira] [Updated] (OFBIZ-5772) add html/xhtml lang tag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5772) add html/xhtml lang tag

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josip Almasi updated OFBIZ-5772:
--------------------------------
    Attachment: ecommerce-lang.patch

This patch modifies
specialpurpose/ecommerce/webapp/ecommerce/includes/headerHead.ftl
by adding html/xhtml lang tag with value taken from request locale (UtilHttp.getLocale()).

> add html/xhtml lang tag
> -----------------------
>
>                 Key: OFBIZ-5772
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5772
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: 12.04.04, 12.04.05
>            Reporter: Josip Almasi
>            Priority: Minor
>              Labels: patch
>         Attachments: ecommerce-lang.patch
>
>
> There is no locale string present in any ecommerce pages.
> Thus, crawlers can't determine page language just like that, IOW google will not index web shop just like that, so users can't apply to adsense, etc etc.
> Note that locale (x/html lang) is present in backoffice pages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)