langcodes knows what languages are. It knows the standardized codes that refer to them such as en for english es for spanish and hi for hindi. These are IETF language tags which supports language variations that you will not find it in ISO standard. langcodes implements the IETF standards and Unicode Technical reports.