mirror of
https://github.com/mara-li/obsidian-my-thesaurus.git
synced 2026-07-22 05:38:22 +00:00
1.1 KiB
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 %>.zipin.obsidian/plugins/path - In Obsidian settings, reload the plugin
- Enable the plugin
🎼 Languages
- English
- French
To add a translation:
- Fork the repository
- Add the translation in the
src/i18n/localesfolder 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.jsonfile in the new file - Translate the content
- You can get your locale language from Obsidian using obsidian translation or using the commands (in templater for example) :
- Edit
i18n/i18next.ts:- Add
import * as <lang> from "./locales/<lang>.json"; - Edit the
ressourcepart with adding :<lang> : {translation: <lang>}
- Add