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