To add a new language:
- Download, process, and verify the data using the bomhog.
- Copy the JSON data output from bomhog into
./data
in this repository. - Add an
<option>
for the new language toselect#selLang1
inindex.html
. Thedata-books
attribute value can be pulled fromnav.json
using. I paste the contents into a browsers dev tools likevar d = <pasted contents>;
and thenvar str = ''; for (var i = 0; i < d.books.length; i++) { str += d.books[i].text + ','; }
- Add an
<option>
for the new language toselect#selLang2
also. - The bomhog repository also can create the
<option>
values usingnode generateHtmlSelect