There was like 8 prereleases for this because i kept changing stuff. This is actually going to be from v1.31.1 and v1.31.2.
/
or ctrl + p
and start typing to instantly go to a page, switch themes, switch accounts, etc.PUBLIC_THEME
.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:
It was worth it though! Because the community has translated it into 11 languages!
https://github.com/Xyphyn/photon/compare/v1.30.4...v1.31.0-rc.1
A replacement for lemmy-ui with more features, a better design, and more customizability. - Comparing v1.30.4...v1.31.0-rc.1 · Xyphyn/photon
@Xylight
@lemm.ee