[sword-devel] New repository - Implications for frontends

Karl Kleinpaste karl at kleinpaste.org
Wed Aug 12 05:47:55 MST 2015


On 08/12/2015 06:36 AM, David Haslam wrote:
> front-end developers might
> wish to consider providing a search/filter feature to display subsets of the
> language list.
I can hardly imagine what sort of subset filter would be useful.
"Show me just the Zapotecs"?
"Just the Easterns"?
"All flavors of English"? (There are 6 represented, of which 3 are
Creole/Kriol.)
"Only the Javaneses"? (Hey, just 1!)

Given the utter randomness of language names, it seems to me that
eyeballing the list to find what you want is going to be necessary.

grep ^Lang= * | tr -d '\r' | cut -f2 -d= | sort | uniq | while read x ;
do grep "^$x    " /usr/share/xiphos/languages ; done | cut -f2 | grep -i
english
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150812/8957d271/attachment.html>


More information about the sword-devel mailing list