mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-10-22 11:05:50 +02:00
Script direction for better default i18n
The SS installer sets i18n::set_locale() based on user selection. While much of the content isn't localized, it'll at least have the correct script alignment (e.g. right-to-left for arabic).
This commit is contained in:
parent
fa346339a5
commit
84c1215f91
@ -28,7 +28,7 @@ Change it, enhance it and most importantly enjoy it!
|
||||
<% require themedCSS('layout') %>
|
||||
<link rel="shortcut icon" href="$ThemeDir/images/favicon.ico" />
|
||||
</head>
|
||||
<body class="$ClassName<% if not $Menu(2) %> no-sidebar<% end_if %>">
|
||||
<body class="$ClassName<% if not $Menu(2) %> no-sidebar<% end_if %>" <% if $i18nScriptDirection %>dir="$i18nScriptDirection"<% end_if %>>
|
||||
<% include Header %>
|
||||
<div class="main" role="main">
|
||||
<div class="inner typography line">
|
||||
|
Loading…
Reference in New Issue
Block a user