<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:14pt"><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">I run into a strange problem recently with jsword. I have the following few lines of code. I just want to printout the bookname and it's short name. I tried both BibleNmes and BibleInfo class. Both return same name. But the names are not like English name. For example, I get 1 Konings while expecting 1 kings, get Openbaring while expecting revelation. Any idea? I have been using jsword 1.6 several years without any problem like this.</div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif;
background-color: transparent; font-style: normal;">Here are the code (I also attached the test groovy scripts and output). I am using jsword 1.6. The bibledesktop displays all books correctly. Please let me know what might happened and the way to overcome it.</div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Thanks</div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Yiguang<br></div><div><br></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"> int nbook = BibleInfo.booksInBible();<br><br> BibleNames bn = new BibleNames(Locale.US)<br><br> println
"shortname\tshortname\nname\tlongname"<br> try {<br> for (int i = 1; i <= nbook; i++)<br><br> {<br><br> def gb = new Expando()<br> gb.key = BibleInfo.getBookName(i).getShortName()<br> gb.shortname = bn.getShortName(i)<br> gb.cname = bn.getName(i)<br> gb.longname = BibleInfo.getBookName(i).getLongName()<br> println gb.key+ "\t"+gb.shortname+"\t"+gb.cname+"\t"+gb.longname<br> }<br><br> // println " local "+loc +" bibe
size:"+bibles.size()<br><br> } catch (Exception e) {<br> e.printStackTrace();<br> }<br><br></div></div></body></html>