[jsword-devel] strongs as links to the original word
DM Smith
dmsmith555 at yahoo.com
Mon May 19 09:08:58 MST 2008
Yingjie Lan wrote:
> I experimented with this idea by modifying the simple.xsl file.
> To experiment with this, simply replace the simple.xsl file
> and run (in eclipse) BD. Then turn on the Strong's numbers.
>
> The modified simple.xsl is attached. Feedbacks are welcome.
> The exact location of this file should be:
>
> bibledesktop/src/main/resources/xsl/cswing/simple.xsl
BD has a built in mechanism to override any resource. Basically, you can
drop the resource into ~/.jsword, with the / in the path of the name,
changed to '.'
For stuff under .../resources, such as xsl/cswing/simple.xsl, this would
be xsl.cswing.simple.xsl
For stuff under ..../src/main/java, just use the fully qualified path
name. For example: org.crosswire.bibledesktop.desktop.Msg.properties.
(note, for stuff that can be translated, you can drop in a translation,
say Spanish as: org.crosswire.bibledesktop.desktop.Msg_es.properties
So, you can copy simple.xsl to ~/.jsword/xsl.cswing.simple.xsl and
restart BD to use it.
More information about the jsword-devel
mailing list