Future Obsidian Features -- Discussion and WIP #77
JPT62089
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
thanks @JPT62089 I like the ideas. of localization. and Regex to match the bible verse |
Beta Was this translation helpful? Give feedback.
3 replies
-
From what I know so far, Svelte probably can help for the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @tim-hub and community...
I've been taking some time to actually learn how to write plugins for Obsidian and have basically been rewriting some things starting with the settings page... This re-write has solely Bolls Life API in mind and I'm hoping to do a bunch of things with it.
1. Rewrite settings page to use Svelte rather than the built-in Obsidian page.
This helps accomplish one main goal at this point. Support for multiple Language/Translations. Here's an example of what I've done so far. It's mostly 'complete' at this point, but still a lot of work to fine tune / refactoring before it's ready for prime.
Obsidian_SYWkvL2PPH.mp4
The initial goal of this was to dynamically pull what languages and translations are supported from Bolls Life. But for now it's just a local JSON file from Bolls Life.
2. Support Localization
The next thing I've just started working on is implementing localization. One of the main packages that is used seems to be i18next so I've been using that. Here's a 5 minute implementation example of that at work.
Obsidian_0mOfOlkF5I.mp4
3. Refactor / Rewrite the verse detection
This one I've barely started / looked at. The most I've done was have a little fun with RegEx (Note: This does not work with books like 1/2 Corinthians yet). With this regex it should be able to detect and categorize each of the parts of the following. Tho like I said it's barely started and the above link is mostly all I've done :)
What are your thoughts / concerns / conundrums / snarks?
Beta Was this translation helpful? Give feedback.
All reactions