Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ MailPilot is a Chrome extension that helps you write better emails faster. It li
- ✨ **AI-Powered Rewriting** - Rewrites any Gmail draft or opened email directly in a built-in side panel
- 🎯 **Multiple Tones** - Choose from options: Formal, Casual, Professional, or Friendly tones
- 🌍 **Enhanced Translation Support** - Translate emails from and into 30+ languages with auto-detection or manual language selection
- 🌐 **Multi-language Interface** - Interface available in 16 languages: English, Spanish, French, German, Chinese, Japanese, Portuguese, Italian, Russian, Arabic, Hindi, Tamil, Telugu, Malayalam, Kannada, and Bengali
- 🌐 **Multi-language Interface** - Interface available in 17 languages: English, Spanish, French, German, Greek, Chinese, Japanese, Portuguese, Italian, Russian, Arabic, Hindi, Tamil, Telugu, Malayalam, Kannada, and Bengali
- 🛡️ **Security Protection** - Built-in detection of suspicious content patterns that may attempt to manipulate AI behavior
- ⚡ **Fast & Easy** - One-click rewrite and apply functionality
- 📧 **Gmail Integration** - Seamlessly integrated into Gmail's (and SOON a lot more email websites') compose window
Expand Down Expand Up @@ -54,6 +54,7 @@ MailPilot interface is now available in 16 languages:
- **Spanish (Español)** 🇪🇸
- **French (Français)** 🇫🇷
- **German (Deutsch)** 🇩🇪
- **Greek (Ελληνικά)** 🇬🇷
- **Chinese (中文)** 🇨🇳
- **Japanese (日本語)** 🇯🇵
- **Portuguese (Português)** 🇵🇹
Expand Down
2 changes: 1 addition & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- **Bidirectional Translation**: Full support for translating between any language pair

### 2. Interface Language Selector
- **16 Languages Available**: English, Spanish, French, German, Chinese, Japanese, Portuguese, Italian, Russian, Arabic, Hindi, Tamil, Telugu, Malayalam, Kannada, Bengali
- **17 Languages Available**: English, Spanish, French, German, Greek, Chinese, Japanese, Portuguese, Italian, Russian, Arabic, Hindi, Tamil, Telugu, Malayalam, Kannada, Bengali
- **Persistent Preference**: Selected language is saved and persists across sessions
- **Complete Localization**: All UI text, buttons, labels, errors, and warnings are translated

Expand Down
1 change: 1 addition & 0 deletions src/SidePanelApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ export function SidePanelApp() {
<option value="es">Español</option>
<option value="fr">Français</option>
<option value="de">Deutsch</option>
<option value="gr">Ελληνικά</option>
<option value="zh">中文</option>
<option value="ja">日本語</option>
<option value="pt">Português</option>
Expand Down
38 changes: 37 additions & 1 deletion src/translations.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Translation strings for MailPilot UI
export type UILanguage = 'en' | 'es' | 'fr' | 'de' | 'zh' | 'ja' | 'pt' | 'it' | 'ru' | 'ar' | 'hi' | 'ta' | 'te' | 'ml' | 'kn' | 'bn';
export type UILanguage = 'en' | 'es' | 'fr' | 'de' | 'gr' | 'zh' | 'ja' | 'pt' | 'it' | 'ru' | 'ar' | 'hi' | 'ta' | 'te' | 'ml' | 'kn' | 'bn';

export interface Translations {
selectTone: string;
Expand Down Expand Up @@ -183,6 +183,42 @@ export const translations: Record<UILanguage, Translations> = {
suspiciousSuffix: '. Die KI wird immer noch versuchen, sie als professionelle E-Mail umzuschreiben, aber die Ergebnisse können variieren.',
},
},
gr: {
selectTone: 'Διαλέξτε τον τόνο σας',
tone: {
formal: 'Επίσημος',
casual: 'Γενικός',
professional: 'Επαγγελματικός',
friendly: 'Φιλικός',
},
translate: 'Μετάφραση',
translateFrom: 'Μετάφραση από',
translateTo: 'Μετάφραση σε',
autoDetect: 'Αυτόματη ανίχνευση',
rewriteButton: 'Ξαναγράψε',
rewriting: 'Ξαναγράφεται...',
cooldown: 'Αναμονή...',
applyToEmail: 'Εφαρμογή στο Email',
typing: 'Πληκτρολόγηση...',
rewrittenEmail: 'Επαναγραμμένο Email',
subject: 'Θέμα',
body: 'Σώμα',
interfaceLanguage: 'Γλώσσα μενού',
darkMode: 'Σκοτεινή λειτουργία',
lightMode: 'Φωτεινή λειτουργία',
errors: {
noActiveTab: 'Καμία ενεργή καρτέλα Gmail δεν βρέθηκε για αυτό το πάνελ.',
couldNotRetrieve: 'Δεν ήταν δυνατή η απόκτηση δεδομένων από το email',
addSubject: 'Εισαγετε ένα θέμα στο email σας πριν χρησιμοποιήσετε το MailPilot.',
emptyBody: 'Το σώμα του email σας είναι κενό. Γράψτε πρώτα το email και μετά κάντε κλικ στο "Ξαναγράψε".',
tooShort: 'Το email είναι πολύ σύντομο. Παρακαλώ γράψτε τουλάχιστον 30 χαρακτήρες.',
tooShortDetail: (count) => `Το email είναι πολύ σύντομο. Παρακαλώ γράψτε τουλάχιστον 30 χαρακτήρες. Έχετε ${count} χαρακτήρες αυτή τη στιγμή.`,
},
warnings: {
suspiciousPrefix: '⚠️ Προειδοποίηση: Το email σας ',
suspiciousSuffix: '. Το AI θα προσπαθήσει να το ξαναγράψει ως επαγγελματικό email, αλλά τα αποτελέσματα μπορεί να διαφέρουν.',
},
},
zh: {
selectTone: '选择你的语气',
tone: {
Expand Down