Difference between revisions of "DevTools:SWORD"

From CrossWire Bible Society
Jump to: navigation, search
m
m (Reverted edits by CyuSs0 (Talk); changed back to last version by Mgruner)
Line 1: Line 1:
[http://nobinters.org/pig-word.htm pig word] [http://kinunia.cn/punto-.htm punto 2005 mi] [http://amohseni.info/img/styles/evanescense-fallen/ evanescense fallen] [http://amohseni.info/img/styles/video-recorder/ video recorder toshiba] [http://amohseni.info/img/styles/croazia-hotel/ croazia hotel] [http://ashythro.info/library/html/hp-m/ hp m415] [http://saibso.org/audigy.htm audigy 4] [http://helmed.info/topic/mp-creative/ mp3 creative muvo tx se 512mb] [http://helmed.info/topic/commento-alla/ commento alla sera] [http://psisemiya.com/images/small/racconti-amatoriali/ racconti amatoriali] [http://kinunia.cn/v-alfa.htm v6 alfa romeo] [http://kinunia.cn/novaja-zemlja.htm novaja zemlja] [http://saibso.org/video-lettori.htm video lettori dvd portatili] [http://ashythro.info/library/html/discoteca-felisia/ discoteca felisia] [http://kinunia.cn/passeggino-chicco.htm passeggino chicco trio s3 top] [http://helmed.info/topic/rifasamento/ rifasamento] [http://psisemiya.com/images/small/il-motore/ il motore di ricerca] [http://psisemiya.com/images/small/immobilare/ immobilare] [http://chaba.info/gomme-/ gomme 1 8 rally] [http://nobinters.org/robiie-williams.htm robiie williams] [http://kinunia.cn/ascolta-gratis.htm ascolta gratis grand funk] [http://davte.info/library/html/il-barbero.htm il barbero de sevilla] [http://saibso.org/case-in.htm case in affitto] [http://chaba.info/h-battle/ h battle] [http://davte.info/library/html/www-anti.htm www anti juve com] [http://helmed.info/topic/inpdap-cessione/ inpdap cessione quinto] [http://saibso.org/fireball-island.htm fireball island] [http://amohseni.info/img/styles/sexi-chat/ sexi chat] [http://saibso.org/inglesina-carrozzina.htm inglesina carrozzina gemellare] [http://davte.info/library/html/pornographie-maroc.htm pornographie maroc] [http://ustall.org/web/astraeus.htm astraeus] [http://nobinters.org/toshiba-a.htm toshiba a80 131] [http://psisemiya.com/images/small/www-ls/ www ls university com] [http://saibso.org/mp-usb.htm mp3 usb 1g] [http://chaba.info/ambasciata-polonia/ ambasciata polonia] [http://helmed.info/topic/ucelli-giuliana/ ucelli giuliana] [http://bloprofeldi.info/lib/inps-pensioni.htm inps pensioni] [http://chaba.info/tutte-le/ tutte le domande di sonic] [http://kinunia.cn/controller-sata.htm controller sata raid] [http://chaba.info/patente-europea/ patente europea del computer] [http://saibso.org/seat-.htm seat    toledo 1.6 stella] [http://helmed.info/topic/beavis-and/ beavis and butthead] [http://nobinters.org/il-dopoguerra.htm il dopoguerra e la crisi] [http://psisemiya.com/images/small/volano-chat/ volano chat] [http://davte.info/library/html/dw.htm dw] [http://nobinters.org/come-pensi.htm come pensi che io] [http://bloprofeldi.info/lib/assicurazione-san.htm assicurazione san donato milanese] [http://amohseni.info/img/styles/spy-collection/ spy collection] [http://saibso.org/starship-ranger.htm starship ranger] [http://davte.info/library/html/racconto-amatoriale.htm racconto amatoriale] [http://chaba.info/soluzione-seconda/ soluzione seconda prova telecomunicazion] [http://helmed.info/topic/hombres-sexys/ hombres sexys] [http://chaba.info/tutte-le/ tutte le cartine della francia] [http://chaba.info/monica-naranjo/ monica naranjo mp3] [http://davte.info/library/html/www-formen.htm www formen] [http://kinunia.cn/ragazzo-trieste.htm ragazzo trieste] [http://ustall.org/web/download-gioco.htm download gioco pc gratis] [http://nobinters.org/jarrett-whisper.htm jarrett whisper] [http://bloprofeldi.info/lib/modello-ise.htm modello ise] [http://bloprofeldi.info/lib/mp-creative.htm mp3 creative zen nano 512] [http://nobinters.org/quinny-freestyle.htm quinny freestyle] [http://ustall.org/web/avp-antivirus.htm avp antivirus] [http://saibso.org/fidelity-bolzano.htm fidelity bolzano] [http://helmed.info/topic/sunlight/ sunlight] [http://davte.info/library/html/roig-montserrat.htm roig, montserrat] [http://ustall.org/web/www-garante.htm www garante it] [http://ustall.org/web/kalima.htm kalima] [http://ustall.org/web/club-azzurro.htm club azzurro] [http://psisemiya.com/images/small/bilancia-professionale/ bilancia professionale] [http://saibso.org/data-prova.htm data prova esami gru iv serie speciale] [http://kinunia.cn/faron-adventure.htm faron adventure] [http://amohseni.info/img/styles/limana/ limana] [http://kinunia.cn/civitanova-marche.htm civitanova marche ristorante la staffa] [http://kinunia.cn/the-dragon.htm the dragon] [http://nobinters.org/zyxel-omni.htm zyxel omni] [http://saibso.org/hub-.htm hub 10 porte d-link] [http://psisemiya.com/images/small/enimem/ enimem] [http://chaba.info/frozen-ball/ frozen ball] [http://helmed.info/topic/versine-del/ versine del leone del lupo e della volpe] [http://kinunia.cn/buscar-el.htm buscar el juego de super mario land] [http://helmed.info/topic/borromeo/ borromeo] [http://amohseni.info/img/styles/the-loveless/ the loveless] [http://psisemiya.com/images/small/www-aljazeera/ www aljazeera com] [http://bloprofeldi.info/lib/worms.htm worms 6600] [http://saibso.org/yellowout.htm yellowout] [http://amohseni.info/img/styles/flex-online/ flex online com] [http://nobinters.org/avventure-di.htm avventure di un fotografo] [http://saibso.org/estudiantes-sexis.htm estudiantes sexis] [http://amohseni.info/img/styles/dzaoudzi/ dzaoudzi] [http://nobinters.org/vendita-memorie.htm vendita memorie ram] [http://ashythro.info/library/html/icn-navman/ icn navman 650] [http://kinunia.cn/palmare-telefono.htm palmare telefono windows] [http://kinunia.cn/largo-di.htm largo di mendelssohn] [http://helmed.info/topic/colonna-sonora/ colonna sonora padrino] [http://kinunia.cn/il-banco.htm il banco dei gelati] [http://helmed.info/topic/www-hardcore/ www hardcore] [http://ashythro.info/library/html/vitara-diesel/ vitara diesel] [http://nobinters.org/adattatore-auto.htm adattatore auto usb accessori palmari] [http://chaba.info/dvd-lettore/ dvd lettore usb] [http://psisemiya.com/images/small/lungo-il/ lungo il fiume] [http://davte.info/library/html/sex-sex.htm sex sex] [http://bloprofeldi.info/lib/liu.htm liu] [http://amohseni.info/img/styles/lu-mercatu/ lu mercatu] [http://kinunia.cn/funkee-green.htm funkee green dogs] [http://chaba.info/vendita-armadi/ vendita armadi] [http://bloprofeldi.info/lib/ventole-raffreddamento.htm ventole raffreddamento 120] [http://ashythro.info/library/html/calendario-porcone/ calendario porcone di questo anno] [http://kinunia.cn/jeans-dolce.htm jeans dolce gabbana donna abbigliamento] [http://ustall.org/web/vigano-san.htm vigano san martino] [http://nobinters.org/www-wear.htm www wear com] [http://saibso.org/x-files.htm x files stagione] [http://helmed.info/topic/lcd-wireless/ lcd wireless] [http://bloprofeldi.info/lib/lavatrice-atlantic.htm lavatrice atlantic] [http://nobinters.org/khriz-y.htm khriz y angel] [http://amohseni.info/img/styles/benne/ benne] [http://kinunia.cn/norah-jones.htm norah jones midi] [http://helmed.info/topic/blue-chi/ blue chi mi dice midi] [http://psisemiya.com/images/small/seximages/ seximages] [http://bloprofeldi.info/lib/microonde-con.htm microonde con forno a incasso] [http://davte.info/library/html/cde-r.htm cde 9843r] [http://ashythro.info/library/html/oakley-dartboard/ oakley dartboard] [http://davte.info/library/html/guitar-software.htm guitar software] [http://psisemiya.com/images/small/uscita-usb/ uscita usb] [http://helmed.info/topic/eligeme-de/ eligeme de luis fonsi] [http://bloprofeldi.info/lib/ddd-compilation.htm ddd compilation 2004] [http://helmed.info/topic/jetflash/ jetflash 128] [http://psisemiya.com/images/small/crash-tea/ crash tea] [http://amohseni.info/img/styles/jack-/ jack 0 5mt] [http://kinunia.cn/plasmon-it.htm plasmon it] [http://saibso.org/stampante-hp.htm stampante hp 1300] [http://ustall.org/web/pelosissima.htm pelosissima] [http://chaba.info/camping-toscana/ camping toscana] [http://nobinters.org/lamoureux-charles.htm lamoureux, charles] [http://davte.info/library/html/sesso-tra.htm sesso tra vecchi] [http://ashythro.info/library/html/abbigliamento-fitness/ abbigliamento fitness] [http://chaba.info/photosmart-r/ photosmart r707] [http://ashythro.info/library/html/rex-fi/ rex fi] [http://saibso.org/www-com.htm www com latinchat] [http://ashythro.info/library/html/hp-scanjet/ hp scanjet 3800] [http://psisemiya.com/images/small/nero/ nero.2] [http://helmed.info/topic/xd-picture/ xd picture card 512 mb] [http://bloprofeldi.info/lib/fata-maria.htm fata maria] [http://ustall.org/web/o-c.htm o c orange countri] [http://ashythro.info/library/html/o-gorizia/ o gorizia tu sei maledetta] [http://saibso.org/kodak-easyshare.htm kodak easyshare p880] [http://nobinters.org/gioco-piscina.htm gioco piscina] [http://davte.info/library/html/negras-gostosas.htm negras gostosas] [http://psisemiya.com/images/small/www-videopornogratis/ www videopornogratis it] [http://chaba.info/mini-hifi/ mini hi-fi rds] [http://nobinters.org/roulette-strategy.htm roulette strategy] [http://nobinters.org/gli-appuntamenti.htm gli appuntamenti nintendo per il nuovo anno] [http://ustall.org/web/red-ligth.htm red ligth] [http://amohseni.info/img/styles/il-duomo/ il duomo assicurazioni] [http://saibso.org/nono-d.htm nono d angelo] [http://psisemiya.com/images/small/je-t/ je t aime ma non plus] [http://ashythro.info/library/html/la-luna/ la luna splende] [http://amohseni.info/img/styles/ricetrasmettitore-cb/ ricetrasmettitore cb] [http://nobinters.org/dhl-taranto.htm dhl taranto] [http://amohseni.info/img/styles/campione-festival/ campione festival sanremo 2006] [http://helmed.info/topic/tucano-neonato/ tucano neonato] [http://saibso.org/aggiornamento-fotografico.htm aggiornamento fotografico per wish] [http://saibso.org/morris.htm morris] [http://nobinters.org/system.htm system] [http://chaba.info/usb/ usb 10 100] [http://saibso.org/bmw-.htm bmw 320 touring 2000] [http://ustall.org/web/bracciale-topazio.htm bracciale topazio argento] [http://kinunia.cn/struktura-polskich.htm struktura polskich banko] [http://amohseni.info/img/styles/crazy-in/ crazy in love] [http://psisemiya.com/images/small/prodotti-per/ prodotti per depilazione] [http://chaba.info/principe-delle/ principe delle maree] [http://ustall.org/web/tenda-finestra.htm tenda finestra] [http://davte.info/library/html/volkswagen-golf.htm volkswagen golf 2.8] [http://helmed.info/topic/golden-baby/ golden baby panda miele] [http://psisemiya.com/images/small/accessori-per/ accessori per nikon d100] [http://saibso.org/dolci-italiani.htm dolci italiani] [http://ustall.org/web/pakistan-international.htm pakistan international airlines] [http://davte.info/library/html/kosova.htm kosova] [http://psisemiya.com/images/small/one-shot/ one shot vol 1] [http://ashythro.info/library/html/cisal-confederazione/ cisal confederazione] [http://nobinters.org/rubinetti.htm rubinetti] [http://ashythro.info/library/html/i-don/ i don t wanna kow] [http://chaba.info/kit-pulizia/ kit pulizia strumenti musicali] [http://kinunia.cn/villarbasse.htm villarbasse] [http://amohseni.info/img/styles/giochi-del/ giochi del 3000] [http://kinunia.cn/coppie-over.htm coppie over 50 grasse] [http://helmed.info/topic/giancarlo-santi/ giancarlo santi] [http://kinunia.cn/nokia.htm nokia 31] [http://bloprofeldi.info/lib/zingara.htm zingara] [http://saibso.org/romantici.htm romantici] [http://amohseni.info/img/styles/calendari-uomini/ calendari uomini vip] [http://ashythro.info/library/html/vlaska-muzika/ vlaska muzika] [http://helmed.info/topic/it-s/ it s been awile] [http://helmed.info/topic/wisin/ wisin] [http://saibso.org/portierato.htm portierato] [http://saibso.org/testo-un.htm testo un emozione da poco di anna oxa] [http://bloprofeldi.info/lib/altoparlanti-altec.htm altoparlanti altec lansing] [http://helmed.info/topic/banca-popolare/ banca popolare ancona] [http://kinunia.cn/danza-macabra.htm danza macabra - terrore] [http://ustall.org/web/hard-disk.htm hard disk usb2] [http://davte.info/library/html/fotos-de.htm fotos de gay] = Documentation =
+
= Documentation =
  
 
== Locale file layout ==
 
== Locale file layout ==

Revision as of 01:14, 19 August 2007

Documentation

Locale file layout

Locales require a few things. Let's step thru the German locale:

excerpts from /sword/locales/de.conf:

[Meta]
Name=de
Description=German

The above information is used to define the locale. They should be fairly obvious. Name should be taken from a standard abbrev, probably returned from echo $LANG. Please understand that this, and all entries are case sensitive.

The following entries are translation strings for anything you might want. REQUIRED are the book names of the Bible. Other things might be option name, value, tip, translations, or any text returned from the engine. It may not work right now, but if it doesn't, please post a message that you found a constant string in the engine not being tranlated.

[Text]
Genesis=1. Mose
Exodus=2. Mose
Leviticus=3. Mose

# <snipped rest of book names>

[Book Abbrevs]
1 C=46
1 CHRONICLES=13
1 CORINTHIANS=46
1 JN=62

These are the abbreviations for each book and are REQUIRED for the locale to work correctly in the engine. They are actually more than just abbreviations; they tell the parser how to incrementally parse versekey text. Notice that 1 Chronicles would come, alphabetically before 1 corinthians. The above entries say: book 46 (1 Corinthians) has precidence up thru "1 C", any character beyond that will unabiguate the entry anyway, so the default 1 CHRONICLES or 1 CORINTHIANS entries would take over from there.

IMPORTANT:

1) There MUST be at least 1 abbreviation entry for each book name comprised of a toupper (uppercase function) of the entire string EXACTLY as you have translated it in the [Text] section.

2) The English abbreviation entries MUST remain in the locale. The precidence entries may be tweeked, especially if you find them interferring with your precidence entries, but the entire book name-- as stated in the first requirement above, must remain for English book names.

Following are the REQUIRED entries from our excerpt book names above.

GENESIS=1
EXODUS=2
LEVITICUS=3

# <snip rest of english abbrevs>

1. MOSE=1
2. MOSE=2
3. MOSE=3

That's it for requirements. Tuning your locale can be important for the user experience. Many [Book Abbrevs] entries may be added to assign precidence if, for example, you find you are getting taken to the wrong entries from text like: "Ma 1:1" (would be Malachi by default because of alphabetical precidence, but might want Matthew or Mark).

You can test your locale with the sword/tests/parsekey test program (this program is in the sword source along with several other programs that are used to validate the configuration files) and try different strings to see how they parse. --- Submissions should be sent to scribe@crosswire.org