Skip to content

Dashboard renders in French instead of English #7

@TogetherBuilt

Description

@TogetherBuilt

When using the "Open dashboard" command, the dashboard interface and notifications are displayed in French (e.g., "Tâche ajoutée", "Êtes-vous sûr de vouloir supprimer la tâche ... ?", "Oui"/"Non"), regardless of the user's locale or VS Code settings. This impacts accessibility and usability for non-French speaking users.

Steps to Reproduce:

  1. Open VS Code with the Copilot Tasks extension installed.
  2. Run the "Open dashboard" command.
  3. Observe that prompts, confirmation dialogs, and notifications are in French.

Expected Behavior:
All user-facing messages on the dashboard should render in English by default, or respect the user's VS Code locale/language settings.

Actual Behavior:
Messages are hardcoded in French.

Source of Issue:
French strings are hardcoded in src/ui/dashboard-panel.ts. Example lines:

vscode.window.showInformationMessage(`Tâche ajoutée: ${taskText}`);
const response = await vscode.window.showWarningMessage(
  `Êtes-vous sûr de vouloir supprimer la tâche "${task.text}" ?`,
  "Oui",
  "Non"
);
if (response === "Oui") {
  vscode.window.showInformationMessage("Tâche supprimée avec succès");
}

Suggested Solution:

  • Replace all hardcoded French strings with English equivalents.
  • (Optional) Consider implementing localization support to respect VS Code’s language settings.

Additional Context:
Repository: copilot-tasks
File: src/ui/dashboard-panel.ts


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions