this post was submitted on 03 Sep 2024
8 points (100.0% liked)

Fedigrow

693 readers
13 users here now

To discuss how to grow and manage communities / magazines on Lemmy, Mbin, Piefed and Sublinks

founded 8 months ago
MODERATORS
 

Most frontends (I don't know any, really) doesn't allow you to set a default language for your post. For that reason, a lot of frontends allow you to post without any language selected, while defaulting to English. But that is not universally true. Photon recently started requiring language to be selected and started defaulting to Undetermined language. This now creates unnecessary friction when the community doesn't have it as allowed language and requires the user to select allowed language for every single post.

It really is a simple change on your end that will take you seconds, but can save a lot of time in the long run and some frustration for people that want to post in your communities.

On lemmy-ui frontend you can change it by going to community settings and under languages you can select multiple ones by holding Ctrl key.

P.S. This community is a great example of one that doesn't allow Undetermined language.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

Actually, if a users doesn't select a language, the client is supposed to submit the post without any language selected (not even undetermined). THE SERVER then defaults the post to one of the languages allowed in the community.

This is probably how Photon has worked until now, since it obviously never got an error no matter where you posted, even though it didn't have a language selector at all.

But since photon now has a language selector, it is now defaulting to making posts with "undetermined" unless the user changes it, instead of null. If it was using an actual null value then the posts would be correctly defaulting to something valid for the community.

Source: Thunder ran into the same issue when language selection was added to posting and commenting.

@[email protected] might want to experiment with that a bit.

[–] [email protected] 3 points 3 months ago (1 children)

I recently changed how language selection works, it'll default to undefined then when you click "set language" then it will actually select a language

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

Great! Is that in a recent release? I haven't updated my photon instance in a bit.

Love your work btw, it's so nice to have a great UI with multi-account support for browsing/posting/modding at my desktop.

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)

Yeah, it's recent with a slightly changed design for the post page. (v1.31.3)