go-ssb-room icon indicating copy to clipboard operation
go-ssb-room copied to clipboard

Description editing locale weirdness

Open KyleMaas opened this issue 2 years ago • 1 comments

Process used:

  1. Created a new room
  2. Added admin user
  3. Connected to room using Manyverse
  4. Signed in using SSB
  5. Edited description, changed language on description page to en-US
  6. Viewed room in browser on computer, which is in en-US locale
  7. Instead of description, got this notice:
Error #500 - Internal Server Error
failed to find description: pinnedNotice: expected 1 notice but got 0

KyleMaas avatar Oct 21 '22 13:10 KyleMaas

My initial expectation was that editing the locale in the description editor changed the primary locale of the room.

When I saw the error, my next expectation was that maybe the description editor allowed you to add multiple translations for different locales, and that by selecting a locale in the editor, you were selecting which locale's description you were writing to.

I'm thinking now maybe there is support for multiple locales in the web interface side but the description editor only allows you to store one locale description, and the web site only looks at certain ones.

Editing the description again but changing the locale back to en-GB allows my en-US computer to see it without the error. So I have a temporary fix, but the mechanism behind it seems a little odd.

KyleMaas avatar Oct 21 '22 13:10 KyleMaas