Opened 10 years ago

Closed 10 years ago

#1930 closed defect (fixed)

<html> in railsport doesn't include the dir="" attribute

Reported by: avar Owned by: Tom Hughes
Priority: minor Milestone:
Component: website Version:
Keywords: i18n Cc:

Description

This:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Should be this:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

And for rtl languages it should be rtl. Probably best to include LTR/RTL at the top of the language file.

Change History (4)

comment:1 Changed 10 years ago by avar

Component: adminwebsite
Keywords: i18n added
Priority: majorminor

comment:2 Changed 10 years ago by Shaun McDonald

Resolution: fixed
Status: newclosed

(In [15753]) include the correct language and direction in the html element. fixes #1930. fixes #1929

comment:3 Changed 10 years ago by StefanB

Resolution: fixed
Status: closedreopened

for some reason the <% t'html.dir' %> renders empty in any language

comment:4 Changed 10 years ago by stefanb

Resolution: fixed
Status: reopenedclosed

(In [16287]) added missing =, fixes #1930

Note: See TracTickets for help on using tickets.