 
       deleteButton = document.createElement("input")
       deleteButton.type = 'RemoveButton'
-      console.log language
-      if language == 'en'
+
+      if locale == 'en'
         deleteButton.value = 'Remove'
       else
         deleteButton.value = 'Entfernen'
+
       deleteButton.id = 'delete' + count
       deleteButton.name = 'deleteInvitationButton' + count
 

  return


inviteInitUser = ->
  count = 0
  $('body').on 'click', '#invite_user', ->
    email = $('#invitation_mail').val()
    if validateEmail(email)
      language = getLanguage()
      $('#invitation_mail').val('')

      span = document.createElement("span")


      return
    else
      if locale == 'en'
        alert 'Please enter a valid email adress'
      else
        alert 'Bitte gibt eine valide Email-Adresse ein'
