<p>The message is coming from Rails' <a href="https://github.com/svenfuchs/rails-i18n/blob/fe07d45ff6db044c24c93570cc4236a63eb5814f/rails/locale/fr.yml#L136">translations</a>, which means that the locale is being set to French. This should be <a href="https://github.com/openstreetmap/openstreetmap-website/blob/30757696bd01b54cb95309fa61cf8b15ce066ff9/app/controllers/application_controller.rb#L300-L308">set by the client request or user account settings</a>. Is it possible that your user account's default language is set to French, or your browser / HTTP library / web proxy is adding an <code>Accept-Language</code> header for French?</p>
<p>The good news is that you can work around this by adding a <code>[?&]locale=en</code> GET parameter to force the locale to English, which should override wherever the setting to French is coming from.</p>
<p>Our servers all run with <code>LANGUAGE</code> set to <code>en_GB:en</code>, and Rails (in classic anglocentrism) defaults to English (i.e: <code>en_US</code>). Therefore, it seems unlikely to me that we're setting the language to French on our servers. If you think that this is a bug on our side, please provide a full request/response pair so that we can reproduce the error you are seeing, such as the output from <code>curl -v</code>. But please redact the <code>Authorisation</code> header to avoid leaking any of your credentials!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1702#issuecomment-352174630">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLf_LDouUulX885UNFsN4WU61k1mmks5tA5qSgaJpZM4REA8N">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLXVX0i5_cglGiHa6ZGu6o7g0dVjDks5tA5qSgaJpZM4REA8N.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1702#issuecomment-352174630"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@zerebubuth in #1702: The message is coming from Rails' [translations](https://github.com/svenfuchs/rails-i18n/blob/fe07d45ff6db044c24c93570cc4236a63eb5814f/rails/locale/fr.yml#L136), which means that the locale is being set to French. This should be [set by the client request or user account settings](https://github.com/openstreetmap/openstreetmap-website/blob/30757696bd01b54cb95309fa61cf8b15ce066ff9/app/controllers/application_controller.rb#L300-L308). Is it possible that your user account's default language is set to French, or your browser / HTTP library / web proxy is adding an `Accept-Language` header for French?\r\n\r\nThe good news is that you can work around this by adding a `[?\u0026]locale=en` GET parameter to force the locale to English, which should override wherever the setting to French is coming from.\r\n\r\nOur servers all run with `LANGUAGE` set to `en_GB:en`, and Rails (in classic anglocentrism) defaults to English (i.e: `en_US`). Therefore, it seems unlikely to me that we're setting the language to French on our servers. If you think that this is a bug on our side, please provide a full request/response pair so that we can reproduce the error you are seeing, such as the output from `curl -v`. But please redact the `Authorisation` header to avoid leaking any of your credentials!\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1702#issuecomment-352174630"}}}</script>