Changes

Jump to navigation Jump to search
446 bytes added ,  09:35, 12 August 2018
Line 85: Line 85:  
Describes how automatically new ingredients can be added from the ingredients available in the OFF-database. @stephane
 
Describes how automatically new ingredients can be added from the ingredients available in the OFF-database. @stephane
   −
=== Add single node ===
+
=== Add single ingredient ===
A node in the file describes a single ingredient as is found in an ingredient list.
+
An ingredient is a node in the taxonomy file, which describes a single ingredient as is found in an ingredient list.
   −
==== Add ingredient ====
+
==== Add ingredient name ====
 
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 99: Line 99:     
Warning: you can not add the three (or more) letter codes used by Wikipedia. OFF does not support those. However you might add them as comment lines, so we have hem for the future.
 
Warning: you can not add the three (or more) letter codes used by Wikipedia. OFF does not support those. However you might add them as comment lines, so we have hem for the future.
 +
 +
==== Add other translations ====
 +
It is possible to add other languages through an online dictionary. [https://www.linguee.com/ Linguee] might help you here if you speak multiple languages. But preferable this should be checked by native speakers.
 +
 +
==== Untranslatable ingredients ====
 +
Sometimes an item can not be translated, as it just does not exist. If possible we could add a description instead.
    
== Issues ==
 
== Issues ==
3,390

edits

Navigation menu