Held messages showing a reason not in English on the Postorious
We just notice a held message from a user's list showing the held reason in Ukrainian, but the interface is in US English and the list's preferred language is English (USA). We could not repeat the issue. What can be the reason behind?
[cid:image001.png@01DAC7B9.AF2B0400]
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: image001.png
Replaced multipart/alternative part with first alternative.
On 6/25/24 20:13, Alan KT So (ITSC) wrote:
We just notice a held message from a user's list showing the held reason in Ukrainian, but the interface is in US English and the list's preferred language is English (USA). We could not repeat the issue. What can be the reason behind?
[cid:image001.png@01DAC7B9.AF2B0400]
I'm assuming the image that content filtering removed was a screen shot of the held message view in Postorius.
was the sender of the message a list member with preferred language Ukranian?
There may be an issue here. The line at https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/chains/hold.py?... calls format_reasons which will translate the reasons in whatever the current language context is. It should probably explicitly specify the list's preferred language.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Yes, it is a screenshot of held message view in Postorius.
Right. It's basically due to some customization in old days. In the mailman 2 days, we customized somethings that related to wordings or else and made it as English (UK) and used the code uk. When these lists were imported to mailman 3, the preferred language changed to the original meaning of the code uk (Ukrainian) and we did not aware.
I could not repeat the issue of held message view when I only changed the language of the list. However, I can repeat the issue when the sender's preferred language is set to Ukrainian.
participants (3)
-
Alan KT So (ITSC)
-
Alan So
-
Mark Sapiro