Translate text and entire notes in Obsidian
MIT License
Bot releases are visible (Hide)
Focus on Translation View
opens a new view if none exists (#47)obsidian-typings
and obsidian-svelte-component-library
as submodules of the projectPublished by github-actions[bot] about 1 year ago
See also beta release 1.4.5 for the previously added changes.
Published by github-actions[bot] over 1 year ago
Please try out this release using the BRAT plugin. Set-up and installation can be found in this wiki.
Focus on translation view
(focuses on the last used translation view) (#47)Replace input with translation
— Selected text will be replaced with its translationTranslation added below input
— The translation will be added below the selected textCopy to clipboard
— Translation of selected text will be added to the clipboardPublished by github-actions[bot] almost 2 years ago
Translate selection to selected language
into two commands (#38 - Many thanks to @ksdavidc for the suggestions, feedback and inspiration):
Translate selection (choose language)
: same functionality as before: opens a modal where you can select a language to translate the selection toTranslate selection (default language)
: no selection modal will be opened, selection will be immediately translated to whichever language is specified as the default target language
Default target language
in Settings > Functionality
now offers more choices (#38):
Most recently used
: your default target language is the language that was last used for translatingDisplay language
: your default target language is the same as Obsidian's display languageManually select language
: opens up a dropdown setting where you can specify a specific language to always translate todefault target language
will now always be the top language that appears when translating a note or translating via the context menuenabled-plugins
would not load when FastText is installed (#39 - many, many thanks @andremeireles for reporting this issue)I apologize to anyone who encountered this issue, and I promise to avoid making these kinds of mistakes in the future, and catch them sooner in the development process.
Published by github-actions[bot] almost 2 years ago
Edit: fixed issue where manifest was not the correct version number
General Settings
tab for quickly opening an issue on this repo
local only
, online only
(i.e. uploaded glossaries) and both
(online glossary will be applied first, if it is not provided, local glossary will be applied instead)local_glossary
is now deprecated, the glossary that will be applied is now defined by glossary_preference
Published by github-actions[bot] almost 2 years ago
obsidian-translate
to translate
.If you're on an older version of the plugin, you can now install the plugin via the official plugins browser. In order to avoid having to re-install Bergamot/Fasttext and port your data, you can simply drag the models
folder, and data.json
& glossary.json
files over to the new plugin folder; they should still work properly.
Published by github-actions[bot] almost 2 years ago
app.vault.configDir
, instead of always going to .obsidian
glossary.json
, even if it does not existmain.scss
file, most !important
's have been removed and all class variables start with translator-...
now (TBD if this will be changed if plugin ID changes)appid-fasttext
/appid-bergamot
) instead of in appid-models
data
writable store is now gone, and is instead split up into a writable store for each of its keys; resulting in cleaner code and improved reactivityPublished by github-actions[bot] almost 2 years ago
I heavily recommend reading the documentation for some explanations of the new features.
Glossary
settingsAdd to glossary
actionAppearance Settings
modal (activate Show tab title bar
in Obsidian's Appearance
settings to view button to open this modal)
Functionality Settings
modal
Translate
button, which will translate selection to the default target language
you've set (change language in Functionality
)Appearance
settingsServices selection
settingvalidate()
, translate()
, languages()
, detect()
) (implements #25)Bing Translator
to Azure Translator
to comply with attribution requirementsactive_services
/src/
and /src/handlers/
)!importants
and made CSS overridablePublished by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by Fevol almost 2 years ago
Show tab title bar
enabled to be able to access the two new modals)
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago