Open AndrewBuck opened 10 years ago
Nice catch.
I thought it would be easy to fix this one but we unfortunately don't store the user preferred language in the database. Only in cookies for now.
Suggestion from #465 inspires the use of adding subject strings as the page is loaded? The subject of each message type (validated, invalidated, etc.) could possibly be given a respective identifier, and then we could loop over the messages in the user_messages function and put in the correct language string based on the identifier.
I got a message on the TM of one of my tiles being invalidated from a german user and the invalidated message is in the German language of the sender, rather than my chosen language of english. (At least I think this is what is happening) Notice that the tiles of my own that I have invalidated (when I clicked the 'done' button accidentally for example) show up in english as you would expect, but the one I received from the other user uses what I assume is their language settings.
See attached screenshot below for details: