It is possible to create your own data file. Why would you do this? Within the BCP47 there are multiple ways to arrive at a language. Organizations can have different preferred language codes.
Start the bcp47-picker with a sources getter. See /demo/demo.js
Create a JSON file which contains all the data.
Data format of the JSON
The JSON file MUST be an array with the following structure:
[
["BCP47-CODE",
["LABEL",
[
"Alternative name 1",
"Alternative name 2"
]
]
]
]