-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More packaging shapes #5608
More packaging shapes #5608
Conversation
packaging-fix-for-pains-de-mie
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid issues, all entries in this taxonomy should have a unique English canonical name. It's really not simple as many of those French words are often translated interchangeably by different English names.
I would suggest to start with a few entries first, the ones that are the most common and associated with food.
We also need to make sure that any additional entry will be correctly mapped to an Eco-Score entry.
All those are in the CITEO system and guidelines, and as a result are likely to be used in French recycling instructions. Barring any packaging shape facet, that's the best I can do. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you!
@stephanegigandet some tests are failing |
Some of the new entries were already there as synonyms. Errors in the packaging_shapes taxonomy definition: I'll try to fix them. |
@teolemon : I think I fixed the conflicting entries, and I added some plurals + some tests. Remaining work needed: assigning a shape ratio for the new entries so that they can be taken into account correctly for the Eco-Score. |
Kudos, SonarCloud Quality Gate passed! |
@stephanegigandet good to merge, and shape ratio in the next PR ? |
* More packaging shapes (openfoodfacts#5608) * packaging-fix-for-pains-de-mie packaging-fix-for-pains-de-mie * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * fix conflicting entries, add tests * fix conflicting entries, add tests Co-authored-by: Stéphane Gigandet <[email protected]> * fix: Differentiate between rtl and ltr for the image position * i18n: Make 'X g / 100 g' translatable (openfoodfacts#5655) * i18n: Make 'X g / 100 g' translatable, especially for RTL languages * fix: Use the old '%.2e' hack to format the decimals * fix: Move selected packaging photos to new main language Co-authored-by: Pierre Slamich <[email protected]> Co-authored-by: Stéphane Gigandet <[email protected]> Co-authored-by: hangy <[email protected]>
* packaging-fix-for-pains-de-mie packaging-fix-for-pains-de-mie * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * Update packaging_shapes.txt * fix conflicting entries, add tests * fix conflicting entries, add tests Co-authored-by: Stéphane Gigandet <[email protected]>
What
More packaging shapes
Part of