openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
809 stars 275 forks source link

Create a "Contribute to your country" link #5467

Open teolemon opened 3 months ago

teolemon commented 3 months ago

What

Current pages

jnnabugwu commented 3 months ago

And we want it to link to the country that the user has set up

monsieurtanuki commented 3 months ago

Could be done at openfoodfacts-dart level: for each Country, return the Country Support link (or null).

monsieurtanuki commented 2 months ago

@jnnabugwu Feel like coding it?

jnnabugwu commented 2 months ago

@monsieurtanuki Yeah ill code it up

jnnabugwu commented 2 months ago

Hey @teolemon what icon should I use for this job? I don't think the Flutter icon class has a globe. Also, how do I go about added a string to localization files? Is there a system in place for that or a tool OFF uses?

teolemon commented 2 months ago

we could put the flag of said country, or a material globe.