Add an example line to the import spreadsheet template on the producers platform #9874
Labels
good first issue
Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help.
🏭 Producers Platform
https://wiki.openfoodfacts.org/Platform_for_producers
This issue is part of #9872 , please see the parent issue for context and guidance on how to work on this issue.
We want to add 2 lines to the import template (generated by https://world.pro.openfoodfacts.org/cgi/generate_sample_import_file.pl ):
This issue is about adding the example line.
We also need add one first column that just contains "description" and "example" for those 2 lines, and nothing for the the other rows.
See the template proposal: https://docs.google.com/spreadsheets/d/148PWIsSfDRsj8gLJ7cHbQtdapIEscUwX/edit#gid=1221199414 :
We will need to change the importing so that rows that contain something in the first column are skipped.
Examples should be translated in different languages.
https://fr.pro.openfoodfacts.org/cgi/generate_sample_import_file.pl should have examples in French.
The examples translations are stored in a TSV file in GitHub: https://github.com/openfoodfacts/openfoodfacts-server/blob/main/conf/pro-platform/Import%20template%20-%20Example%20translations%20-%20Import%20sheet.tsv
The TSV file has the same columns as the English template, and one row per language, with the language code in the first column. That way it will be easy to edit the examples, add more languages etc.
When generating the import template, we will need to:
The text was updated successfully, but these errors were encountered: