"We're sorry, but something went wrong on our end" message when browser language is set to Italian
Opened this issue · 4 comments
Steps to reproduce the problem
- Set the browser language to Italian
- Browse to https://friend.camp/
Expected behaviour
Normal behaviour
Actual behaviour
"We're sorry..." message
Detailed description
If the browser language is set to Italian, you get a message saying "We're sorry, but something went wrong on our end" when trying to reach any Hometown instance (e.g. https://friend.camp/). It does not happens with https://friend.camp/about
Specifications
Firefox 109.0.1
reproduced it with Turkish language.
I've been locked out of https://digipres.club for months and I thought it was some security feature to force people to not use HTTP requests to access the posts. :D It turns out I just have to change the language. Thank you for sharing!
Can be reproduced by visiting https://digipres.club/?lang=it or https://friend.camp/?lang=it
Example server log from this error, from https://merveilles.town (using a very light fork of Hometown, basically with just theming and icon updates):
[fb1b36fa-d237-4fd8-91d6-95e28281e78d] method=GET path=/public/local format=html controller=HomeController action=index status=500 error='ActionView::Template::Error: missing interpolation argument :title in "Per usare l'interfaccia web di %{title} dovi abilitare JavaScript. In alternativa puoi provare una delle <a href="%{apps_path}">app native per Hometown/Mastodon per la tua piattaforma." ({:apps_path=>"https://joinmastodon.org/apps"} given)' duration=56.46 view=0.00 db=13.39
Looks like either a translation is missing or a translation is unable to be swapped out.
Edit: Looks like this is more complicated, possibly due to how code is changed somewhere. This translation file is exactly the same compared to the main Mastodon branch, which doesn't have the :title
argument and probably doesn't need it. Unsure where this is exactly happening—it'd require a local dev setup to test this out!