/localeISO

Convert Country and Language ISO codes to full text.

Primary LanguageJavaScript

localeISO.js

Convert Country (ISO 3166-2) and Language (ISO 639-1) codes to full text.

Installation

Add this line at the end of the <body> tag in your .html file:

<script src="https://aculligan.github.io/CDN/localeISO/localeISO-min.js"></script>

Use <langISO>, <langISOL>, <cntryISO>, or <cntryISO> tags with the ISO code:

<cntryISO>es</cntryISO> => Spain
<cntryISOL>es</cntryISOL> => España

<langISO>es</langISO> => Spanish
<langISOL>es</langISOL> => Español

More information here.