Topic RSS
3:25 pm
27 January, 2010
OfflineOK, I just tried to post and couldn't so hopefully now it doesn't show up 2 times. Anyways, I'm new to this and need SB in Spanish. I've changed some of the words in the templates but can't figure out how to change the books of the Bible or the date format. I see it says that the Spanish translation of SB is included in the new version but I can't figure out how to access it. Can anyone help me?
4:27 pm
19 November, 2009
Offline0.43.5 is the most current version, and you can download it here: http://www.4-14.org.uk/wordpre…..evelopment
Dodgeville United Methodist Church -- Dodgeville, WI
8:44 pm
19 November, 2009
OfflineJust looked in my plugin folder, and the spanish language files are there, but dont appear to be configured… They are sermon-browser-es_ES.mo and sermon-browser-es_ES.po
For example:
msgid "The maximum amount of memory allowed is only "
msgstr ""
The translated text should be on the msgstr line, and looks like every line in the file is blank.
Dodgeville United Methodist Church -- Dodgeville, WI
9:20 pm
19 November, 2009
OfflineEvery bit of text in the MO & PO files have teh msgstr="" under them, which is supposed to contain the spanish translation between the quotes.
Look at the RO and RU files as examples… Russian & Romanian files are already filled in correctly. My bet is that you could add the translations manually in those files, replace the non-ES files with the ES files (rename them), and see if it starts showing you spanish… Just a thought.
Dodgeville United Methodist Church -- Dodgeville, WI
10:42 pm
27 January, 2010
OfflineI didn't translate everything in the .po file but I did do all the books of the Bible. I renamed the Spanish .mo and .po the same as the English ones were before I deleted them. The plugin still brings up the English names, however. There has to be something to tell it to use the msgstr instead of the English names.
2:24 pm
19 November, 2009
OfflineSorry… I was guessing in the first place, so not really sure where to go from here. Hopefully someone else around here has implemented alternate languages.
Dodgeville United Methodist Church -- Dodgeville, WI
11:24 am
27 January, 2010
OfflineOkay, the problem is partially solved.
Once I changed my WordPress installation to Spanish, Sermon Browser automatically looked for the Spanish .po file. There's a code in sermon.php which directs this. There might have been a way around having to change my WordPress installation but I'm not smart enough with the codes to figure that out.
I still have one problem, however. Both in the Sermon Browser interface and the search results only the English book names are displayed.
Does anyone have an idea how I can get the Spanish book names to show up?
12:33 pm
18 June, 2009
OfflineCan you post a link to your site, so we can take a look?
1:31 pm
27 January, 2010
Offlinehttp://ibbfrota.com/?page_id=199
I only have sermon browser installed on this one page.
2:08 pm
18 June, 2009
Offlinecarnsp, I've taken a look at your .po file, and I see that you've added the Spanish Bible book names. Have you compiled a new .mo file? If not, then I think that is the problem.
From what I've read, there are two steps in changing the translation files. First, you need to edit the .po file, which you've already done. Second, you need to compile the translation into a machine-readable .mo file. There are a few different tools that you can use to compile the .mo file. I've never done this before, but there is some good information here on the WordPress Codex site.
If you get this working, let us know and maybe share your .po and .mo files so that one day it might be included in a future version of Sermon Browser. :)
3:38 pm
18 June, 2009
OfflineHere's another thought: Do you need to deactivate, and then reactivate the Sermon Browser plugin after you make a change to the .mo/.po files to reload the changes?
I'm just guessing here….
4:04 pm
27 January, 2010
OfflineThanks, Ben, for your ideas. I used Poedit to translate the .po file and it also creates a .mo file to go with it. I've uploaded both, and then deactivated and activated again sermon browser. Still the same.
This morning I even reinstalled sermon browser to start over from scratch. The steps I just mentioned were done after the new installation.
It is strange since it recognizes the -es_ES.po file and uses it in the interface. It's just the books that are not recognized.
Thanks for your ideas.
6:57 pm
27 January, 2010
OfflineI would suspect my problem might be found in these lines in the system.php. Can anyone explain these to me?
* Returns list of bible books from the database
*
* @return array
*/
function sb_get_bible_books () {
global $wpdb;
return $wpdb->get_col("SELECT name FROM {$wpdb->prefix}sb_books order by id");
7:33 pm
27 January, 2010
Offline
I'm happy! Can anyone tell?
I solved my problem but there must be an easier way. Here's what I did to get the Spanish names of Bible books to appear both in the interface and one the web page.
1) I went to "Manage MySQL" with my hosting company and then under "Manage Databases" I click on the database (in my case, at least, it was the last one in the list: I have no idea why I have several).
2) Then in the window to the right I clicked on "Access phpMyAdmin".
3) Then under MySQL I clicked on "Databases". Again I clicked on the database I wanted and that takes me to a screen with a list of the tables.
4) If you click on the "Browse" next to "wp_sp_books" you can edit and save all the book names.
If someone can tell me an easier way, please do so. But for now, I'm happy anyway.
8:00 pm
18 June, 2009
OfflineI think that when Sermon Browser installs, it writes the names of the books of the Bible into the database. The function sb_get_bible_books that you posted reads the names from the database.
I'm not sure where the code is to write the names of the books of the Bible to the database. I know you said you reinstalled Sermon Browser from scratch, so perhaps there is a bug in the code so it won't write the Spanish names into the database.
Anyway, I'm glad you figured out how to edit the database manually and put the right names in there.
9:58 pm
27 January, 2010
OfflineWell, it couldn't write the Spanish book names in the database because the es_ES.po file that came with SermonBrowser did not have the Spanish translation in it. It must have at one point according to all the posts I've read on here but it doesn't now.
All the book names are now working perfectly for me since I did the editing of the database. However, the verse text does not show up now on the sermon page because the program that is linked to does not recognize the Spanish book names. Oh well, can't have everything, I guess (at least this side of Heaven!). I rather that visitors to the website know the correct passage (hence the book names in Spanish are important). They can look up the text in their Bibles.
Most Users Ever Online: 40
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
malpan: 2453
jogen: 2440
VanWatterson: 652
GeraldSebring: 364
LucasWoltman: 362
RandellFeenstra: 362
Member Stats:
Guest Posters: 7
Members: 2062
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1071
Posts: 4042
Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb
Moderators: Ben Miller (386)
Administrators: Mark Barnes (425)
Log In
Register
Home



