# Privacy Policy for Udemy Subtitle Translator

**Last Updated: November 23, 2024**

## Overview

Udemy Subtitle Translator is a Chrome extension that translates Udemy video subtitles in real-time. This privacy policy explains how we handle your data.

## Data Collection and Storage

### What We Collect
- **Translation Settings**: Your preferences (enabled/disabled status, target language, original text display options)
- **API Keys**: DeepSeek API key or Google Gemini API key (only if you choose to use these services)

### Where Data is Stored
- All data is stored **locally on your device** using Chrome's `chrome.storage.sync` API
- Your API keys never leave your browser except when sent directly to the respective API servers for translation requests
- We do **NOT** collect, store, or transmit any of your data to our servers

## Data Usage

### Translation Services
- **Chrome Built-in Translation**: No external data transmission
- **DeepSeek API**: When selected, subtitle text is sent to DeepSeek's servers using your API key
- **Google Gemini API**: When selected, subtitle text is sent to Google's servers using your API key

### What We Do NOT Collect
- Personal information (name, email, etc.)
- Browsing history
- Course content or video data
- Any data beyond the translation settings mentioned above

## Third-Party Services

When using external translation APIs:

**DeepSeek API** (if selected):
- Subtitle text is sent to DeepSeek API servers
- Please refer to [DeepSeek's Privacy Policy](<https://www.deepseek.com/privacy-policy>)

**Google Gemini API** (if selected):
- Subtitle text is sent to Google's servers
- Please refer to [Google's Privacy Policy](<https://policies.google.com/privacy>)

## Data Security

- Your API keys are stored securely in Chrome's local storage
- All communications with external APIs use HTTPS encryption
- No data is shared with third parties beyond the translation service you choose

## User Rights

You can:
- Delete all stored data by uninstalling the extension
- Clear your API key at any time through the extension popup
- Disable the extension without losing your settings

## Changes to This Policy

We may update this privacy policy from time to time. Any changes will be reflected in the "Last Updated" date above.

## Contact

If you have questions about this privacy policy, please contact:
- GitHub Issues: [Your GitHub Repository URL]

## Consent

By using this extension, you consent to this privacy policy.