Line 132:
Line 132:
=== Bootstrap ===
=== Bootstrap ===
−
Before starting with the maintenance action, it is first necessary to get the ingredients your language going. The next actions can be done:
+
Before starting with the maintenance action, it is first necessary to get the ingredients your language going. The next steps can be taken:
* Adapt file [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/lib/ProductOpener/Ingredients.pm ingredients.pm] - this file contains various elements, which are used to analyse the ingredients of a product (in the order they appear in the file):
* Adapt file [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/lib/ProductOpener/Ingredients.pm ingredients.pm] - this file contains various elements, which are used to analyse the ingredients of a product (in the order they appear in the file):
** Traces (''%may_contain_regexps'') - is the start of a phrase that introduces traces;
** Traces (''%may_contain_regexps'') - is the start of a phrase that introduces traces;
Line 140:
Line 140:
** And (''%and'') - two ingredients, not separated by a delimiter, eg '''herbs and spices''';
** And (''%and'') - two ingredients, not separated by a delimiter, eg '''herbs and spices''';
** And of (''%and_of'') -
** And of (''%and_of'') -
−
** And/or
+
** And/or (''%and_or'') -
+
** The (''%the'') - the [https://en.wikipedia.org/wiki/The grammatical article] of the language.
=== Actions ===
=== Actions ===