<p></p>
<blockquote>
<p>Unfortunately the first one doesn't work. I still can see "None" although it was translated and updated ten days ago. How about other language versions? Can you see it translated into your language?</p>
</blockquote>
<p>This works for me now - I see 'brak' when I set my language to Polish.</p>
<blockquote>
<p>I still can see "Utwórz Report"</p>
</blockquote>
<p>There are many parts to this, since the button label is created automatically and there are many ways that the i18n system can generate button labels.</p>
<p>First the "Report" bit - either <code>activerecord.models.#{model_name}</code> or if that doesn't exist, then <code>model_name.capitalize</code>. Tom added <code>activerecord.models.report</code> in the above commit, but it hasn't been translated yet into Polish on translatewiki.</p>
<p>Second part - the "Create/Utwórz %{model}" comes from the rails-i18n project, specifically <a href="https://github.com/svenfuchs/rails-i18n/blob/26f1bd90c2cd9e7192fbf84d64a5415e6a2fc977/rails/locale/pl.yml#L177">this line</a>. This means we don't need to have repeat translations for every model. For some situations where this doesn't fit (like "Add comment" instead of "Create Issue Comment") we have specific translations, under the <code>helpers.submit</code> hierarchy (e.g. <code>helpers.submit.issue_comment</code>).</p>
<p>I hope this helps!</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/2565#issuecomment-614110630">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJDU73RRR76GQI7EKDRMXHQRANCNFSM4LQNPDOA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMHWZ5YV2D5JT5RBW3RMXHQRA5CNFSM4LQNPDOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESNJLJQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2565#issuecomment-614110630",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2565#issuecomment-614110630",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>