<p></p>
<blockquote>
<p dir="auto">we would need to be able to override it when we don't want it.</p>
</blockquote>
<p dir="auto">Yep. I expect if there was a default set via the rails helpers it would still be overridden by the options hash when the helper is used, so we can add the <code>dir</code> to the one or two cases that need it (basically the inverse of what we have here).</p>
<blockquote>
<p dir="auto">(latitude and longitude for user positions for example)</p>
</blockquote>
<p dir="auto">text_fields used for numbers should be fine, since with dir="auto" they are actually better laid out for negative numbers than currently. In dir="rtl" the negative sign is shown to the right (before) the number, but in arabic the <a href="https://en.wikipedia.org/wiki/Modern_Arabic_mathematical_notation" rel="nofollow">negative should be shown to the left</a>. Both dir="auto" and dir="ltr" do the right thing here.</p>
<p dir="auto">(If anyone has a contra-example for an RTL language that shows regular numerals differently, then I'd love to hear about it - I can't speak or read any RTL languages myself so my knowledge is limited to what I read online).</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3430#issuecomment-1017633060">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKLYU52VU27CNC3GOLUXAT2JANCNFSM5MKZAGKQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMDHO5IO52UVKHNTC3UXAT2JA5CNFSM5MKZAGK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHST5SJA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3430/c1017633060</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3430#issuecomment-1017633060",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3430#issuecomment-1017633060",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>