mara-li_obsidian-my-thesaurus/README.md
2024-12-17 16:24:45 +01:00

1.1 KiB

<%= data.name %>

<%= data.description %>

⚙️ Usage

📥 Installation

  • From Obsidian's community plugins
  • Using BRAT with https://github.com/<%= data.author.name%>/<% data.id%>
  • From the release page:
    • Download the latest release
    • Unzip <%= data.id %>.zip in .obsidian/plugins/ path
    • In Obsidian settings, reload the plugin
    • Enable the plugin

🎼 Languages

  • English
  • French

To add a translation:

  1. Fork the repository
  2. Add the translation in the src/i18n/locales folder with the name of the language (ex: fr.json).
    • You can get your locale language from Obsidian using obsidian translation or using the commands (in templater for example) : {{TEMPLATE_PLACEHOLDER LOCALE}}
    • Copy the content of the en.json file in the new file
    • Translate the content
  3. Edit i18n/i18next.ts :
    • Add import * as <lang> from "./locales/<lang>.json";
    • Edit the ressource part with adding : <lang> : {translation: <lang>}