Language code and hreflang are two different things.
Language code is used in the database and in URLs for people using repertories - for example /en or /it - but it's not your case here.
Hreflang is the important one which helps Google to understand the different languages for the same piece of content.