Changes

Jump to navigation Jump to search
307 bytes added ,  09:18, 12 August 2018
Line 81: Line 81:  
== Maintenance ==
 
== Maintenance ==
   −
=== Add node ===
+
=== Automatic add ===
 +
Describes how automatically new ingredients can be added from the ingredients available in the OFF-database. @stephane
 +
 
 +
=== Add single node ===
 
A node in the file describes a single ingredient as is found in an ingredient list.
 
A node in the file describes a single ingredient as is found in an ingredient list.
 +
 
==== Add ingredient ====
 
==== Add ingredient ====
 
You can add an ingredient anywhere in the file at first. Keep a blank line between the previous and next ingredient. Add the ingredient in the format: <nowiki>LANGUAGE_CODE:MAIN_INGREDIENT_NAME, SYNONYM, SYNONYM</nowiki>.
 
You can add an ingredient anywhere in the file at first. Keep a blank line between the previous and next ingredient. Add the ingredient in the format: <nowiki>LANGUAGE_CODE:MAIN_INGREDIENT_NAME, SYNONYM, SYNONYM</nowiki>.
Line 88: Line 92:  
Thus start by defining the ingredient name you want to add. If there are multiple ingredients names possible, decide which ingredient name will be the MAIN_INGREDIENT_NAME. The other names can be added as SYNONYM. Each ingredient name is separated by comma's.
 
Thus start by defining the ingredient name you want to add. If there are multiple ingredients names possible, decide which ingredient name will be the MAIN_INGREDIENT_NAME. The other names can be added as SYNONYM. Each ingredient name is separated by comma's.
   −
Determine the language
+
Determine the language code to be used. Find your language in this list and add the corresponding ISO code as LANGUAGE_CODE to your MAIN_INGREDIENT_NAME, separated by a colon (:).
    
== Issues ==
 
== Issues ==
3,390

edits

Navigation menu