Sudoku icon indicating copy to clipboard operation
Sudoku copied to clipboard

Feature addition: App interface translation

Open Enirudo opened this issue 4 months ago • 5 comments

I'd like to contribute to the project. It seems the app is not localized to Portuguese. I could also make Spanish and French translations if needed.

Enirudo avatar Aug 22 '25 18:08 Enirudo

Hi! Thanks for your interest. I would be very happy to accept translations, though I think I need to do some work on the app to make it localizable. I will take some time tomorrow to look into this as it's been a while since I touched Flutter and update you. I can make some of the Spanish and French strings as I speak those languages :)

TheSunCat avatar Aug 22 '25 21:08 TheSunCat

Standing by... :)

Enirudo avatar Aug 23 '25 11:08 Enirudo

It looks like there's a lot of work to bring this app up to modern Flutter and dependencies. I'm working on it, but I don't expect to finish today. I will keep you updated, for now just upgrading dependencies (and rewriting when I run into nonexistent ones...).

TheSunCat avatar Aug 23 '25 12:08 TheSunCat

Alright, with e2617b8a92874fd245ffab92a69b0d776aee89bf the app should now be localizable :) I need a break, been looking at this for nearly a full work day haha, but you should now be able to add files in lib/l10n/ named like app_fr.arb and translating all the strings shown in app_en.arb.

If you want to test it, I left a Nix flake in the repo which should allow you to get a dev environment with all the needed tools via nix develop. Then you can simply do flutter run to test your changes live.

TheSunCat avatar Aug 23 '25 18:08 TheSunCat

This was fast... I'll take a look tomorrow and I'll see if I can tackle the task :)

Enirudo avatar Aug 23 '25 18:08 Enirudo