GsLogiMaker / my-bible-obsidian-plugin

Your own customization bible in your personal vault!
MIT License
22 stars 2 forks source link

Download translation? #2

Closed billpetro closed 8 months ago

billpetro commented 8 months ago

I've installed the plugin as instructions directed. When I do CMD-P "My Bible: Download translation" it

When I click Download it:

Then almost immediately says:

But I see no indication of the presence of the translation in /Bible or anywhere else in my vault.

Nor does it populate a verse when I "read" it with "[[Genesis 1#1]]" instead it merely displays the location in /Bible/01 Genesis/Genesis 1

What am I missing?

GsLogiMaker commented 8 months ago

When you have a built Bible in your vault, the verses displayed in the bible are fetched from the internet. Downloading the Bible means you have a local copy that can be accessed without an internet connection.

You can verify if the translation has been downloaded by opening your vault in the OS's file explorer, and navigating to .obsidian/plugins/gslogimaker-my-bible/.mybiblecache, and you should see a lot of text files containing the text of your translation.

If you don't have the Bible built in your vault then you can run the Build Bible command with CMD-P "My Bible: Build bible", and that will build your Bible in the path specified in your My Bible settings.

mybible_example1

Hope this helps!

billpetro commented 8 months ago

Thanks. The picture you show here of the Bible folder as "Bible" with an emoticon is different than the default "/Bible/". With the default, you get the skeleton, but the My Bible: Download translation doesn't work.

With "Bible" it does. I now have 4BM of files in .obsidian/plugins/gslogimaker-my-bible

LanguageTool_Underlines_Overlay

They look like this:

LanguageTool_Underlines_Overlay

Question: how do I get them to appear?

Typing [[Genesis 1#1]] , which in Reading mode, looks like Genesis 1>1 opens Bible/01 Genesis/Genesis 1 and gives me a highlight, but empty location here:

LanguageTool_Underlines_Overlay

GsLogiMaker commented 8 months ago

I see the issue. Looks like My Bible is using an incorrect default for one of the settings. Change the Verse body format setting to

###### {verse}
{verse_text}

mybible_example2

Then run Build bible again. That should fix the problem.

billpetro commented 8 months ago

Success! Thanks.