Inserting data into an empty table, but got error 1452. I am not sure why MySQL mentions the NameInfo table within the error.
CREATE TABLE NameInfo (
Language V
Error 1452 indicates an insertion failed because a foreign key constraint couldn't be honoured.
Your query is inserting data into the Employee table, which has a foreign key constraint referring to the Departments table. If you haven't got a Department entry set up that the Employeee row refers to the insertion will fail.
You need to insert the Departments entries first, or your Employee insertions will fail this test.