Replace Strings with Localizable Resources
Using localizable resources allows others to properly localize the app without replacing string in a fork.
- [x] Extract and replace static strings in layout files
- [x] Extract and replace dynamic strings from code
- [x] Add an option to change language
I tried to put the new resource files in the Assets folder, but it didn't work, so I had to create a new folder for them.
~~I will squash the small commits later~~ Squashed
I think I have extracted all the strings. There could be some that I have missed
Heya, getting round to this now, sorry for the delay.
Currently attempting to find a workaround to refresh the UI without restarting the app. It seems changing theme does the trick but that's a bit too jank for my liking.
Seems there's no way to do it because StaticResources have no event handler because they're, well, static.
We could make them dynamic resources but that would use more memory, so I think a restart is a good compromise for now.
Now lgtm, awaiting build