pariyatti / mobile-app

The Pariyatti mobile app
https://pariyatti.app/
GNU Affero General Public License v3.0
8 stars 11 forks source link

Add proper i18n #13

Closed deobald closed 1 year ago

deobald commented 3 years ago

Currently, strings are looked up in https://github.com/pariyatti/patta/blob/master/lib/resources/strings.dart

Instead, we should use one of the available internationalization (i18n for short) libraries out there. Before we add one, though, we should review what's available:

Steps:

deobald commented 1 year ago

The solution chosen in #132 is really not far from the original strings.dart approach... it's just a basic lookup table with fall-through to English. The standard Google i18n library is a bit too heavy for us right now, and we can look at switching to it if/when we have a real Flutter dev on the team.