danieldegroot2 left a comment (openstreetmap/openstreetmap-website#6118)

Source code should be changed to regular string in source code without `PLURAL` 
syntax, as mentioned above.
For misc. social link(s) website shows singular "Other" (no plural is needed)
Similar to Report => Reason "Other" messages i.e.
https://translatewiki.net/wiki/Osm:Reports.new.categories.user.other_label/en

( alternatively, `en.yml` could be directly modified to include this, though 
this might be confusing for translators who are aware website will only show 
'Other'.).
```
one: Other
other: Other
```
and it could be switched so website uses `one`, not `other`, so `other` can 
still be the plural "Others", but it might be unfeasible as it is inconsistent 
with how the site chooses translations elsewhere.
```
one: Other
other: Others
```
See also 
https://github.com/openstreetmap/openstreetmap-website/issues/2897#issuecomment-712879149
 )

---

### Details

Source code
https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/social_links/_show.html.erb

Regular english translation
https://github.com/openstreetmap/openstreetmap-website/blob/d2b994bd93e6b182ce7ad9de0a58e14649fa2465/config/locales/en.yml#L2590
(has only `other:` defined)

Regular english translation on Translatewiki
https://translatewiki.net/wiki/Osm:Social_links.show/en
(has invalid `{{PLURAL}}` syntax, with only value being the `other` value)

Its history
https://translatewiki.net/w/i.php?title=Osm:Social_links.show/en&action=history
(it is newly created)

Translations, i.e. Spanish will mirror the regular english translation, leaving 
translator with the same invalid `PLURAL` syntax.
Website will still read this back properly as only `other` has to be translated 
for the file.

---

Sidenote: Translatewiki did not return a format error in this case.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6118#issuecomment-2993460226
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/6118/2993460...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to