diff --git a/field_collection_bulkupload.module b/field_collection_bulkupload.module
index 24af1d4..7a3d539 100644
--- a/field_collection_bulkupload.module
+++ b/field_collection_bulkupload.module
@@ -32,6 +32,7 @@ function field_collection_bulkupload_field_attach_form($entity_type, $entity, &$
   foreach($fields as $name => $field) {
     if ($field['widget']['type'] == 'field_collection_embed') {
       $build_id = $form_state['build_info']['form_id'];
+      $langcode = field_language($entity_type, $entity, $name, $langcode);
       field_collection_bulkupload_add_form($form[$name], $name, $langcode, $build_id);
     }
   }
@@ -312,4 +313,4 @@ function field_collection_bulkupload_clean_filename($filepath, $extensions) {
   $filename = file_munge_filename($filename, $extensions);
   $directory = drupal_dirname($filepath);
   return ($directory != '.' ? $directory . '/' : '') . $filename;
-}
\ No newline at end of file
+}
