https://github.com/gervaiscodes/obsidian-polyglot
Obsidian Polyglot is a plugin that enables translation and text-to-speech conversion within Obsidian
https://github.com/gervaiscodes/obsidian-polyglot
Last synced: 11 months ago
JSON representation
Obsidian Polyglot is a plugin that enables translation and text-to-speech conversion within Obsidian
- Host: GitHub
- URL: https://github.com/gervaiscodes/obsidian-polyglot
- Owner: gervaiscodes
- Created: 2025-03-16T08:23:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-01T09:13:57.000Z (over 1 year ago)
- Last Synced: 2025-04-01T10:25:30.869Z (over 1 year ago)
- Language: TypeScript
- Size: 204 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Obsidian Polyglot
**Obsidian Polyglot** is a plugin that enables translation and text-to-speech conversion within Obsidian.
- π **Instant Translation**: Translate selected text in one click using **AWS Translate**
- π **Text-to-Speech Conversion**: Convert selected text into a local audio file using **AWS Polly**
## π Installation
1. **Clone the repository** into your Obsidian plugins folder: `.obsidian/plugins`
2. **Build the plugin**: `npm run build`
3. **Enable the plugin** in Obsidian settings.
Once activated, two icons will be added to the ribbon sidebar:

Additionally, two new commands will be available:

## βοΈ Configuration
Before using the plugin, configure your **AWS credentials** and **preferred languages** in the settings panel:

## π Translate Text
1. **Select the text** you want to translate.
2. Click the **"Polyglot Translate"** icon in the ribbon.
3. The translated text will appear directly after your selection.
You can customize the translation output (e.g., append/prepend text) in the settings.
## π Convert Text to Speech
1. **Select the text** you want to convert to speech.
2. Click the **"Polyglot Speech"** icon in the ribbon.
3. The generated audio file will be added right after your selected text.
π **Offline Support**: The audio file is stored locally, meaning no internet connection is required to play it.
## π Example Usage
Hereβs an example of the Polish word **"czeΕΔ"** translated to **"salut"** in French:

