9

I comment text in both English and German. The (now semi-defunct) feddit.de instance has some/many/most communities that only allow German as language, while on other instances or in communities only English is allowed (or at least that's the only way my comments get posted).

This creates the problem that I cannot really set a default language tag, because that would regularly delete my comments when the comment doesn't get posted with no or the wrong language tag (because I forgot to add or change the tag.

I don't know about programming, but I'm not sure how taxing this would be memory- or caching-wise.

top 5 comments
sorted by: hot top controversial new old
[-] DieguiTux8623@feddit.it 4 points 1 month ago

That is a super-interesting feature request! Thank you for the idea!

Don't worry for the implementation, I already have a similar mechanism to save the custom sort types you can apply to individual communities.

[-] DieguiTux8623@feddit.it 1 points 1 month ago* (last edited 1 month ago)

On it, see this pull request 😉️ This will allow to set a "preferred language" for each community.

If you are mostly commenting on an instance and want something more general, I advise setting a global value in the "Default language in editor" item in the Advanced settings screen.

[-] 5714@lemmy.dbzer0.com 2 points 1 month ago

Wow that went fast, thank you!

Interesting that the localisation of the languages are visible in the files. Some time ago I translated text for a game (Cataclysm: Dark Days Ahead) and they had their text mostly in (IIRC binary) .po files. I'm not sure why they did that though.

[-] DieguiTux8623@feddit.it 2 points 1 month ago

The PO format is the de-facto standard for software localization in open-source projects, it is a textual format (.po files are converted to binary .mo during the build process and linked against the executable) and it was originally designed for the GNU gettext internationalization library for the C language, but it has been ported to Python and other languages too over time as it grew popular. More info here.

Mobile apps have always been widely incompatible with it, Android apps use XML resources, iOS apps use Localizable.strings (aka stringtables, similar to .properties files), Flutter apps use the .ARB format which is JSON-based.

[-] 5714@lemmy.dbzer0.com 2 points 1 month ago* (last edited 1 month ago)

Thanks for the write-up.

xkcd comic about the impossibility of a unifying standard

this post was submitted on 29 May 2024
9 points (100.0% liked)

raccoonforlemmy

164 readers
3 users here now

The purpose of this community is to discuss and collect feedback about the development of the Raccoon For Lemmy mobile app.

Feel free to use this space to share your

Suggestions as well as criticism is well accepted (better if constructive but who cares after all: Lemmy is beautiful because there's freedom).

Have a look at the GitHub repository for more information.

Chat with us on Matrix!

NB: Notes collected here will eventually become issues on GitHub to better track their evolution.

founded 8 months ago
MODERATORS