this post was submitted on 11 Aug 2024
206 points (97.7% liked)

Lemmy Apps

5403 readers
1 users here now

A home for discussion of Lemmy apps and tools for all platforms.

RULES:


An extensive list of Lemmy apps is available here:

LemmyApps.com

or lemmyapps.netlify.app


Visit our partner Communities!

Lemmy Plugins and Userscripts is a great place to enhance the Lemmy browsing experience. !plugins@sh.itjust.works

Lemmy Integrations is a community about all integrations with the lemmy API. Bots, Scripts, New Apps, etc. !lemmy_integrations@lemmy.dbzer0.com

Lemmy Bots and Tools is a place to discuss and show off bots, tools, front ends, etc. you’re making that relate to lemmy. !lemmy_dev@programming.dev

Lemmy App Development is a place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform. !lemmydev@lemm.ee

founded 1 year ago
MODERATORS
 

This is applicable to almost any piece of software with text in it. When starting your new app, you should make sure you are using a separate language file for the strings in your app. This makes text reusable, and you can change it all in one place.

Once your app gains a community, if you did this, you can also get translators!

With Photon i made the massive mistake of hardcoding everything up until the app became massive, and my PR for un-hardcoding all the strings looks like this:

The amount of lines modified in the GitHub PR. 2,067 lines added, 1,082 removed.

It was worth it though! Because the community has translated it into 11 languages!

you are viewing a single comment's thread
view the rest of the comments
[–] teolan@lemmy.world 7 points 1 month ago (2 children)

I'm French, so when building any GUI stuff I just tend to start from the beginning with both French and English languages, that way I have a reason for doing this from the start. I'm thinking I should also add Spanish, so that I can keep my admetedly low skills in Spanish.

[–] jimmy90@lemmy.world 11 points 1 month ago (1 children)

german is also a good one for discovering that long words break your UX :)

[–] HumanPenguin@feddit.uk 5 points 1 month ago (1 children)

Unfortunately this is an issue for anyone visually impaired.

People just do not stop to think how difficult their UX is if people need very large fonts.

[–] threelonmusketeers@sh.itjust.works 4 points 1 month ago (1 children)

how difficult their UX is if people need very large fonts

What issue

s could th

at possibl

y cause?

[–] HumanPenguin@feddit.uk 1 points 1 month ago (1 children)

The issue that layout containers are often unable to display large fonts on the widgets when certain restrictions are enforced in the layout. So, without giving time to try very large fonts. To Many developers never discover their applications just cannot be read by visually impaired people.

[–] jimmy90@lemmy.world 2 points 1 month ago

yeah if the UI library is not ready to flow text and UI elements (including wrapping/breaking sensibly) then important information and interactive elements are inevitably clipped/unusable or jumbled beyond recognition

[–] Blaze@sopuli.xyz 3 points 1 month ago

Feel free to join the small !esp@lemm.ee for Spanish content