Changes

Jump to navigation Jump to search
333 bytes added ,  09:47, 12 August 2018
Line 95: Line 95:  
Determine the language code to be used. Find your language in this [https://www.loc.gov/standards/iso639-2/php/code_list.php lang list] and add the corresponding ISO 639-1 code as LANGUAGE_CODE to your MAIN_INGREDIENT_NAME, separated by a colon (:).
 
Determine the language code to be used. Find your language in this [https://www.loc.gov/standards/iso639-2/php/code_list.php lang list] and add the corresponding ISO 639-1 code as LANGUAGE_CODE to your MAIN_INGREDIENT_NAME, separated by a colon (:).
   −
==== Add Wikipedia translations ====
+
==== Add translations ====
 +
You can add translations for an ingredient. Each translation should appear on a new line.
 +
 
 +
===== Wikipedia translations =====
 
If the ingredient exists as article in Wikipedia, you can add the translations supplied by Wikipedia. You can use the language codes used by Wikipedia (as seen in the article url).  
 
If the ingredient exists as article in Wikipedia, you can add the translations supplied by Wikipedia. You can use the language codes used by Wikipedia (as seen in the article url).  
    
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 ====
+
===== 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.
 
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 ====
+
===== Untranslatable ingredients =====
 
Sometimes an item can not be translated, as it just does not exist. If possible we could add a description instead.
 
Sometimes an item can not be translated, as it just does not exist. If possible we could add a description instead.
 +
 +
==== Sort translations ====
 +
The translations should be sorted in alphabetical order of the language code.
 +
 +
An exception is the first line, that is the default language, which is used, when no translation is present.
    
== Issues ==
 
== Issues ==
3,390

edits

Navigation menu