Help translate Note Toolbar 🌐 - chrisgurney/obsidian-note-toolbar GitHub Wiki
Thanks to the help of generous contributors, Note Toolbar is available in a few languages.
I'd love your help translating Note Toolbar into other languages, or at least reviewing them! Please let me know here if you're interested.
Instructions
The basic process is to:
- Fork the repo, and make sure you have the latest code (
git pull
if you have an older fork). - Update per the below.
- Submit a pull request.
For UI string (i.e., settings, notifications) translations:
- Copy
en.json
toLANGUAGECODE.json
using the language codes per Obsidian. - Start translating strings.
- Under the covers the plugin uses i18next, so you can refer to their docs for help with formatting strings (in particular refer to Formatting, Plurals, and Context).
- For new languages, in
NoteToolbarSettings.ts
:- Import the new language; and
- add an
addResourceBundle
line, using the language codes per Obsidian.
For Style Settings plugin (styles.css) translations:
- Open
style-settings.yaml
and update per Style Settings documentation
Example for Ukrainian:
title: 'Floating Button'
title.uk: 'Плаваюча кнопка'
description: 'Styles for floating buttons (set toolbar position to "floating button")'
description.uk: 'Стилі для плаваючих кнопок (встановіть позицію панелі інструментів на «плаваючу кнопку»)'
For What's New notes:
- Open
RELEASE.md
fromdocs/releases/en
- Translate
- Save as
docs/releases/LANGUAGECODE/RELEASE.md
For README and/or User Guide
Drop me a comment if you're interested!