Languages and codes


We are working on a hubspot application is which is used to translate hubspot content. To translate the content we should know the current language of the content. For example, in pages json it contains languges key which give language of the page.

Now the problem is these codes are not the standard language codes which are universal. For example one of page in our portal show ‘es-es’ as language code. I am not sure which language code is this. es if for spanish but not sure what is es-es.

Can anyone give whole list of language code and names hubspot supports? So that we parse that values our language values.

Also how come one page can have es-es langauge code?