Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 605 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 605 Bytes

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.