Skip to content

Commit 14de489

Browse files
samhvw8mrubens
andauthored
Add localization support for Roo Code extension in multiple languages (#2523)
* Add localization support for Roo Code extension in multiple languages - Created new localization files for Catalan, German, Spanish, French, Hindi, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Turkish, Vietnamese, Chinese (Simplified), and Chinese (Traditional). - Updated extension activation and deactivation messages to use localized strings. - Enhanced user experience by providing translated command titles and descriptions for various functionalities within the extension. * Revert changes to extension.ts * Remove l10n --------- Co-authored-by: Matt Rubens <[email protected]>
1 parent e94e58f commit 14de489

16 files changed

+519
-39
lines changed

package.json

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "roo-cline",
3-
"displayName": "Roo Code",
4-
"description": "A whole dev team of AI agents in your editor. Previously Roo Cline.",
3+
"displayName": "%extension.displayName%",
4+
"description": "%extension.description%",
55
"publisher": "RooVeterinaryInc",
66
"version": "3.11.14",
77
"icon": "assets/icons/icon.png",
@@ -54,18 +54,18 @@
5454
"submenus": [
5555
{
5656
"id": "roo-code.contextMenu",
57-
"label": "Roo Code"
57+
"label": "%views.contextMenu.label%"
5858
},
5959
{
6060
"id": "roo-code.terminalMenu",
61-
"label": "Roo Code"
61+
"label": "%views.terminalMenu.label%"
6262
}
6363
],
6464
"viewsContainers": {
6565
"activitybar": [
6666
{
6767
"id": "roo-cline-ActivityBar",
68-
"title": "Roo Code",
68+
"title": "%views.activitybar.title%",
6969
"icon": "assets/icons/icon.svg"
7070
}
7171
]
@@ -82,103 +82,103 @@
8282
"commands": [
8383
{
8484
"command": "roo-cline.plusButtonClicked",
85-
"title": "New Task",
85+
"title": "%command.newTask.title%",
8686
"icon": "$(add)"
8787
},
8888
{
8989
"command": "roo-cline.mcpButtonClicked",
90-
"title": "MCP Servers",
90+
"title": "%command.mcpServers.title%",
9191
"icon": "$(server)"
9292
},
9393
{
9494
"command": "roo-cline.promptsButtonClicked",
95-
"title": "Prompts",
95+
"title": "%command.prompts.title%",
9696
"icon": "$(notebook)"
9797
},
9898
{
9999
"command": "roo-cline.historyButtonClicked",
100-
"title": "History",
100+
"title": "%command.history.title%",
101101
"icon": "$(history)"
102102
},
103103
{
104104
"command": "roo-cline.popoutButtonClicked",
105-
"title": "Open in Editor",
105+
"title": "%command.openInEditor.title%",
106106
"icon": "$(link-external)"
107107
},
108108
{
109109
"command": "roo-cline.settingsButtonClicked",
110-
"title": "Settings",
110+
"title": "%command.settings.title%",
111111
"icon": "$(settings-gear)"
112112
},
113113
{
114114
"command": "roo-cline.helpButtonClicked",
115-
"title": "Documentation",
115+
"title": "%command.documentation.title%",
116116
"icon": "$(question)"
117117
},
118118
{
119119
"command": "roo-cline.openInNewTab",
120-
"title": "Open In New Tab",
121-
"category": "Roo Code"
120+
"title": "%command.openInNewTab.title%",
121+
"category": "%extension.displayName%"
122122
},
123123
{
124124
"command": "roo-cline.explainCode",
125-
"title": "Explain Code",
126-
"category": "Roo Code"
125+
"title": "%command.explainCode.title%",
126+
"category": "%extension.displayName%"
127127
},
128128
{
129129
"command": "roo-cline.fixCode",
130-
"title": "Fix Code",
131-
"category": "Roo Code"
130+
"title": "%command.fixCode.title%",
131+
"category": "%extension.displayName%"
132132
},
133133
{
134134
"command": "roo-cline.improveCode",
135-
"title": "Improve Code",
136-
"category": "Roo Code"
135+
"title": "%command.improveCode.title%",
136+
"category": "%extension.displayName%"
137137
},
138138
{
139139
"command": "roo-cline.addToContext",
140-
"title": "Add To Context",
141-
"category": "Roo Code"
140+
"title": "%command.addToContext.title%",
141+
"category": "%extension.displayName%"
142142
},
143143
{
144144
"command": "roo-cline.newTask",
145-
"title": "New Task",
146-
"category": "Roo Code"
145+
"title": "%command.newTask.title%",
146+
"category": "%extension.displayName%"
147147
},
148148
{
149149
"command": "roo-cline.terminalAddToContext",
150-
"title": "Add Terminal Content to Context",
150+
"title": "%command.terminal.addToContext.title%",
151151
"category": "Terminal"
152152
},
153153
{
154154
"command": "roo-cline.terminalFixCommand",
155-
"title": "Fix This Command",
155+
"title": "%command.terminal.fixCommand.title%",
156156
"category": "Terminal"
157157
},
158158
{
159159
"command": "roo-cline.terminalExplainCommand",
160-
"title": "Explain This Command",
160+
"title": "%command.terminal.explainCommand.title%",
161161
"category": "Terminal"
162162
},
163163
{
164164
"command": "roo-cline.terminalFixCommandInCurrentTask",
165-
"title": "Fix This Command (Current Task)",
165+
"title": "%command.terminal.fixCommandInCurrentTask.title%",
166166
"category": "Terminal"
167167
},
168168
{
169169
"command": "roo-cline.terminalExplainCommandInCurrentTask",
170-
"title": "Explain This Command (Current Task)",
170+
"title": "%command.terminal.explainCommandInCurrentTask.title%",
171171
"category": "Terminal"
172172
},
173173
{
174174
"command": "roo-cline.setCustomStoragePath",
175-
"title": "Set Custom Storage Path",
176-
"category": "Roo Code"
175+
"title": "%command.setCustomStoragePath.title%",
176+
"category": "%extension.displayName%"
177177
},
178178
{
179179
"command": "roo-cline.focusInput",
180-
"title": "Focus Input Field",
181-
"category": "Roo Code"
180+
"title": "%command.focusInput.title%",
181+
"category": "%extension.displayName%"
182182
}
183183
],
184184
"menus": {
@@ -310,7 +310,7 @@
310310
]
311311
},
312312
"configuration": {
313-
"title": "Roo Code",
313+
"title": "%configuration.title%",
314314
"properties": {
315315
"roo-cline.allowedCommands": {
316316
"type": "array",
@@ -325,26 +325,26 @@
325325
"git diff",
326326
"git show"
327327
],
328-
"description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled"
328+
"description": "%commands.allowedCommands.description%"
329329
},
330330
"roo-cline.vsCodeLmModelSelector": {
331331
"type": "object",
332332
"properties": {
333333
"vendor": {
334334
"type": "string",
335-
"description": "The vendor of the language model (e.g. copilot)"
335+
"description": "%settings.vsCodeLmModelSelector.vendor.description%"
336336
},
337337
"family": {
338338
"type": "string",
339-
"description": "The family of the language model (e.g. gpt-4)"
339+
"description": "%settings.vsCodeLmModelSelector.family.description%"
340340
}
341341
},
342-
"description": "Settings for VSCode Language Model API"
342+
"description": "%settings.vsCodeLmModelSelector.description%"
343343
},
344344
"roo-cline.customStoragePath": {
345345
"type": "string",
346346
"default": "",
347-
"description": "Custom storage path. Leave empty to use the default location. Supports absolute paths (e.g. 'D:\\RooCodeStorage')"
347+
"description": "%settings.customStoragePath.description%"
348348
}
349349
}
350350
}

package.nls.ca.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extension.displayName": "Roo Code",
3+
"extension.description": "Un equip complet de desenvolupament d'agents d'IA al teu editor. Anteriorment Roo Cline.",
4+
"command.newTask.title": "Nova Tasca",
5+
"command.explainCode.title": "Explicar Codi",
6+
"command.fixCode.title": "Corregir Codi",
7+
"command.improveCode.title": "Millorar Codi",
8+
"command.addToContext.title": "Afegir al Context",
9+
"command.openInNewTab.title": "Obrir en una Nova Pestanya",
10+
"command.focusInput.title": "Enfocar Camp d'Entrada",
11+
"command.setCustomStoragePath.title": "Establir Ruta d'Emmagatzematge Personalitzada",
12+
"command.terminal.addToContext.title": "Afegir Contingut del Terminal al Context",
13+
"command.terminal.fixCommand.title": "Corregir Aquesta Ordre",
14+
"command.terminal.explainCommand.title": "Explicar Aquesta Ordre",
15+
"command.terminal.fixCommandInCurrentTask.title": "Corregir Aquesta Ordre (Tasca Actual)",
16+
"command.terminal.explainCommandInCurrentTask.title": "Explicar Aquesta Ordre (Tasca Actual)",
17+
"views.activitybar.title": "Roo Code",
18+
"views.contextMenu.label": "Roo Code",
19+
"views.terminalMenu.label": "Roo Code",
20+
"command.mcpServers.title": "Servidors MCP",
21+
"command.prompts.title": "Indicacions",
22+
"command.history.title": "Historial",
23+
"command.openInEditor.title": "Obrir a l'Editor",
24+
"command.settings.title": "Configuració",
25+
"command.documentation.title": "Documentació",
26+
"configuration.title": "Roo Code",
27+
"commands.allowedCommands.description": "Ordres que es poden executar automàticament quan 'Aprova sempre les operacions d'execució' està activat",
28+
"settings.vsCodeLmModelSelector.description": "Configuració per a l'API del model de llenguatge VSCode",
29+
"settings.vsCodeLmModelSelector.vendor.description": "El proveïdor del model de llenguatge (p. ex. copilot)",
30+
"settings.vsCodeLmModelSelector.family.description": "La família del model de llenguatge (p. ex. gpt-4)",
31+
"settings.customStoragePath.description": "Ruta d'emmagatzematge personalitzada. Deixeu-la buida per utilitzar la ubicació predeterminada. Admet rutes absolutes (p. ex. 'D:\\RooCodeStorage')"
32+
}

package.nls.de.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extension.displayName": "Roo Code",
3+
"extension.description": "Ein komplettes KI-Agenten-Entwicklungsteam in Ihrem Editor. Früher bekannt als Roo Cline.",
4+
"command.newTask.title": "Neue Aufgabe",
5+
"command.explainCode.title": "Code Erklären",
6+
"command.fixCode.title": "Code Reparieren",
7+
"command.improveCode.title": "Code Verbessern",
8+
"command.addToContext.title": "Zum Kontext Hinzufügen",
9+
"command.openInNewTab.title": "In Neuem Tab Öffnen",
10+
"command.focusInput.title": "Eingabefeld Fokussieren",
11+
"command.setCustomStoragePath.title": "Benutzerdefinierten Speicherpfad Festlegen",
12+
"command.terminal.addToContext.title": "Terminal-Inhalt zum Kontext Hinzufügen",
13+
"command.terminal.fixCommand.title": "Diesen Befehl Reparieren",
14+
"command.terminal.explainCommand.title": "Diesen Befehl Erklären",
15+
"command.terminal.fixCommandInCurrentTask.title": "Diesen Befehl Reparieren (Aktuelle Aufgabe)",
16+
"command.terminal.explainCommandInCurrentTask.title": "Diesen Befehl Erklären (Aktuelle Aufgabe)",
17+
"views.activitybar.title": "Roo Code",
18+
"views.contextMenu.label": "Roo Code",
19+
"views.terminalMenu.label": "Roo Code",
20+
"command.mcpServers.title": "MCP Server",
21+
"command.prompts.title": "Prompts",
22+
"command.history.title": "Verlauf",
23+
"command.openInEditor.title": "Im Editor Öffnen",
24+
"command.settings.title": "Einstellungen",
25+
"command.documentation.title": "Dokumentation",
26+
"configuration.title": "Roo Code",
27+
"commands.allowedCommands.description": "Befehle, die automatisch ausgeführt werden können, wenn 'Ausführungsoperationen immer genehmigen' aktiviert ist",
28+
"settings.vsCodeLmModelSelector.description": "Einstellungen für die VSCode-Sprachmodell-API",
29+
"settings.vsCodeLmModelSelector.vendor.description": "Der Anbieter des Sprachmodells (z.B. copilot)",
30+
"settings.vsCodeLmModelSelector.family.description": "Die Familie des Sprachmodells (z.B. gpt-4)",
31+
"settings.customStoragePath.description": "Benutzerdefinierter Speicherpfad. Leer lassen, um den Standardspeicherort zu verwenden. Unterstützt absolute Pfade (z.B. 'D:\\RooCodeStorage')"
32+
}

package.nls.es.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extension.displayName": "Roo Code",
3+
"extension.description": "Un equipo completo de desarrollo de agentes de IA en tu editor. Anteriormente Roo Cline.",
4+
"command.newTask.title": "Nueva Tarea",
5+
"command.explainCode.title": "Explicar Código",
6+
"command.fixCode.title": "Corregir Código",
7+
"command.improveCode.title": "Mejorar Código",
8+
"command.addToContext.title": "Añadir al Contexto",
9+
"command.openInNewTab.title": "Abrir en Nueva Pestaña",
10+
"command.focusInput.title": "Enfocar Campo de Entrada",
11+
"command.setCustomStoragePath.title": "Establecer Ruta de Almacenamiento Personalizada",
12+
"command.terminal.addToContext.title": "Añadir Contenido de Terminal al Contexto",
13+
"command.terminal.fixCommand.title": "Corregir Este Comando",
14+
"command.terminal.explainCommand.title": "Explicar Este Comando",
15+
"command.terminal.fixCommandInCurrentTask.title": "Corregir Este Comando (Tarea Actual)",
16+
"command.terminal.explainCommandInCurrentTask.title": "Explicar Este Comando (Tarea Actual)",
17+
"views.activitybar.title": "Roo Code",
18+
"views.contextMenu.label": "Roo Code",
19+
"views.terminalMenu.label": "Roo Code",
20+
"command.mcpServers.title": "Servidores MCP",
21+
"command.prompts.title": "Indicaciones",
22+
"command.history.title": "Historial",
23+
"command.openInEditor.title": "Abrir en Editor",
24+
"command.settings.title": "Configuración",
25+
"command.documentation.title": "Documentación",
26+
"configuration.title": "Roo Code",
27+
"commands.allowedCommands.description": "Comandos que pueden ejecutarse automáticamente cuando 'Aprobar siempre operaciones de ejecución' está activado",
28+
"settings.vsCodeLmModelSelector.description": "Configuración para la API del modelo de lenguaje VSCode",
29+
"settings.vsCodeLmModelSelector.vendor.description": "El proveedor del modelo de lenguaje (ej. copilot)",
30+
"settings.vsCodeLmModelSelector.family.description": "La familia del modelo de lenguaje (ej. gpt-4)",
31+
"settings.customStoragePath.description": "Ruta de almacenamiento personalizada. Dejar vacío para usar la ubicación predeterminada. Admite rutas absolutas (ej. 'D:\\RooCodeStorage')"
32+
}

package.nls.fr.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extension.displayName": "Roo Code",
3+
"extension.description": "Une équipe complète de développement d'agents IA dans votre éditeur. Anciennement Roo Cline.",
4+
"command.newTask.title": "Nouvelle Tâche",
5+
"command.explainCode.title": "Expliquer le Code",
6+
"command.fixCode.title": "Corriger le Code",
7+
"command.improveCode.title": "Améliorer le Code",
8+
"command.addToContext.title": "Ajouter au Contexte",
9+
"command.openInNewTab.title": "Ouvrir dans un Nouvel Onglet",
10+
"command.focusInput.title": "Focus sur le Champ de Saisie",
11+
"command.setCustomStoragePath.title": "Définir le Chemin de Stockage Personnalisé",
12+
"command.terminal.addToContext.title": "Ajouter le Contenu du Terminal au Contexte",
13+
"command.terminal.fixCommand.title": "Corriger cette Commande",
14+
"command.terminal.explainCommand.title": "Expliquer cette Commande",
15+
"command.terminal.fixCommandInCurrentTask.title": "Corriger cette Commande (Tâche Actuelle)",
16+
"command.terminal.explainCommandInCurrentTask.title": "Expliquer cette Commande (Tâche Actuelle)",
17+
"views.activitybar.title": "Roo Code",
18+
"views.contextMenu.label": "Roo Code",
19+
"views.terminalMenu.label": "Roo Code",
20+
"command.mcpServers.title": "Serveurs MCP",
21+
"command.prompts.title": "Invites",
22+
"command.history.title": "Historique",
23+
"command.openInEditor.title": "Ouvrir dans l'Éditeur",
24+
"command.settings.title": "Paramètres",
25+
"command.documentation.title": "Documentation",
26+
"configuration.title": "Roo Code",
27+
"commands.allowedCommands.description": "Commandes pouvant être exécutées automatiquement lorsque 'Toujours approuver les opérations d'exécution' est activé",
28+
"settings.vsCodeLmModelSelector.description": "Paramètres pour l'API du modèle de langage VSCode",
29+
"settings.vsCodeLmModelSelector.vendor.description": "Le fournisseur du modèle de langage (ex: copilot)",
30+
"settings.vsCodeLmModelSelector.family.description": "La famille du modèle de langage (ex: gpt-4)",
31+
"settings.customStoragePath.description": "Chemin de stockage personnalisé. Laisser vide pour utiliser l'emplacement par défaut. Prend en charge les chemins absolus (ex: 'D:\\RooCodeStorage')"
32+
}

package.nls.hi.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"extension.displayName": "Roo Code",
3+
"extension.description": "आपके एडिटर में एआई एजेंट्स की पूरी डेवलपमेंट टीम। पहले Roo Cline के नाम से जाना जाता था।",
4+
"command.newTask.title": "नया कार्य",
5+
"command.explainCode.title": "कोड समझाएं",
6+
"command.fixCode.title": "कोड ठीक करें",
7+
"command.improveCode.title": "कोड सुधारें",
8+
"command.addToContext.title": "संदर्भ में जोड़ें",
9+
"command.openInNewTab.title": "नए टैब में खोलें",
10+
"command.focusInput.title": "इनपुट फ़ील्ड पर फोकस करें",
11+
"command.setCustomStoragePath.title": "कस्टम स्टोरेज पाथ सेट करें",
12+
"command.terminal.addToContext.title": "टर्मिनल सामग्री को संदर्भ में जोड़ें",
13+
"command.terminal.fixCommand.title": "यह कमांड ठीक करें",
14+
"command.terminal.explainCommand.title": "यह कमांड समझाएं",
15+
"command.terminal.fixCommandInCurrentTask.title": "यह कमांड ठीक करें (वर्तमान कार्य)",
16+
"command.terminal.explainCommandInCurrentTask.title": "यह कमांड समझाएं (वर्तमान कार्य)",
17+
"views.activitybar.title": "Roo Code",
18+
"views.contextMenu.label": "Roo Code",
19+
"views.terminalMenu.label": "Roo Code",
20+
"command.mcpServers.title": "एमसीपी सर्वर",
21+
"command.prompts.title": "प्रॉम्प्ट्स",
22+
"command.history.title": "इतिहास",
23+
"command.openInEditor.title": "एडिटर में खोलें",
24+
"command.settings.title": "सेटिंग्स",
25+
"command.documentation.title": "दस्तावेज़ीकरण",
26+
"configuration.title": "Roo Code",
27+
"commands.allowedCommands.description": "वे कमांड जो स्वचालित रूप से निष्पादित की जा सकती हैं जब 'हमेशा निष्पादन संचालन को स्वीकृत करें' सक्रिय हो",
28+
"settings.vsCodeLmModelSelector.description": "VSCode भाषा मॉडल API के लिए सेटिंग्स",
29+
"settings.vsCodeLmModelSelector.vendor.description": "भाषा मॉडल का विक्रेता (उदा. copilot)",
30+
"settings.vsCodeLmModelSelector.family.description": "भाषा मॉडल का परिवार (उदा. gpt-4)",
31+
"settings.customStoragePath.description": "कस्टम स्टोरेज पाथ। डिफ़ॉल्ट स्थान का उपयोग करने के लिए खाली छोड़ें। पूर्ण पथ का समर्थन करता है (उदा. 'D:\\RooCodeStorage')"
32+
}

0 commit comments

Comments
 (0)