lib/taxon_concept_builder.rb
# TODO - add some alternate names, including at least one in another language.
# TODO - create alternate scientific names... just make sure the relation makes sense and the language_id is
# either 0 or Language.scientific.
# Note that the last common name (if there is more than one common name) will be entered with the French language.
add some alternate names, including at least one in another language.
TODO - create alternate scientific names... just make sure the relation makes sense and the language_id is
either 0 or Language.scientific.
Note that the last common name (if there is more than one common name) will be entered with the French language.
add some alternate names including at least one in another language . TODO - create alternate scientific names ... just make sure the relation makes sense and the language_id is either 0 or Language . scientific . Note that the last common name ( if there is more than one common name ) will be entered with the French language .
def gen_other_names
    puts "** Enter: gen_other_names" if @debugging
    @common_names.each_with_index do |common_name, count|
      language = (count != 0 && count == @common_names.size) ? Language.find_by_translated(:label, "French") : Language.english
      @tc.add_common_name_synonym(common_name, :agent => Agent.col, :language => language)
    end
  end
def gen_other_names puts "** Enter: gen_other_names" if @debugging @common_names . each_with_index do | common_name , count | language = ( count != 0 && count == @common_names . size ) ? Language . find_by_translated ( :label , "French" ) : Language . english @tc . add_common_name_synonym ( common_name , :agent => Agent . col , :language => language ) end end
TODO - add some alternate names, including at least one in another language.
TODO - add some alternate names including at least one in another language .