<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello SWORD community and Troy :)</p>
<p><br>
</p>
<p>While working on organizing language list of available modules
for Ezra Bible App frontend, I decided to convert SWORD locale
list
(<a class="moz-txt-link-freetext" href="https://crosswire.org/svn/sword/trunk/locales.d/locales.conf">https://crosswire.org/svn/sword/trunk/locales.d/locales.conf</a>) to
JSON at building time. I'm also adding some extra details about
languages (Localized language names are available from
International Components for Unicode (ICU) through Intl API
(<a class="moz-txt-link-freetext" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames</a>)
and language type (living, extinct, historic, constructed) info
can be pulled from ISO-639-3 standard).</p>
<p><br>
</p>
<p>I have the following questions:<br>
</p>
<p>1. What is the purpose of locales.d/locales.conf? Is it intended
to be the complete list of all the languages of all the modules
available through SWORD repositories?</p>
<p>2. If so, I found experimentally that there are few languages
that are missing from locale.conf:</p>
<p> ['cek', 'cth', 'dnj', 'esg', 'iqw', 'izz', 'ncq']</p>
<p>Should I create a patch?<br>
</p>
<p>3. There are some entries that are not comply to to BCP 47 and
RFC 4647 standards as described in Lang section of
<a class="moz-txt-link-freetext" href="http://wiki.crosswire.org/DevTools:conf_Files">http://wiki.crosswire.org/DevTools:conf_Files</a>. Are those just a
legacy entries?</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<i>sincerely,</i><br>
<i>Evgen Kucherov</i><br>
</div>
</body>
</html>