## [Bug] Untranslated Literal “Playground lessons and sandbox” in C# Lesson Header #220

Closed
opened 2026-06-08 19:27:54 +00:00 by enjin2310 · 1 comment

🧩 Summary

In the C# Playground interface, the header text “Playground lessons and sandbox” remains untranslated when the platform language is set to Spanish. This issue likely affects multiple language-specific playgrounds under the Learn section, suggesting a broader localization gap across the platform.

🧪 Steps to Reproduce

  1. Navigate to learn.spikersoft.com/tools/csharp-playground.
  2. Switch the interface language to Español.
  3. Observe the header section above the lesson title.
  4. Notice that the phrase “Playground lessons and sandbox” remains in English.

Expected Behavior

The header should be fully localized to Spanish, matching the rest of the interface.
Example translation:
“Lecciones y entorno de práctica” or “Lecciones y sandbox de C#”.

Actual Behavior

  • The phrase “Playground lessons and sandbox” is displayed in English.
  • Other interface elements (e.g., “Lecciones”, “Visita guiada”, “Enviar”) are correctly translated.

📸 Evidence

The attached screenshots show the untranslated header text in both English and Spanish interface modes.

🧠 Possible Root Cause

  • Missing translation keys in the header component shared across playgrounds.
  • Hardcoded English text not linked to localization files.
  • Partial implementation of language switching for lesson headers.
### 🧩 Summary In the **C# Playground** interface, the header text **“Playground lessons and sandbox”** remains untranslated when the platform language is set to Spanish. This issue likely affects multiple language-specific playgrounds under the **Learn** section, suggesting a broader localization gap across the platform. ### 🧪 Steps to Reproduce 1. Navigate to `learn.spikersoft.com/tools/csharp-playground`. 2. Switch the interface language to **Español**. 3. Observe the header section above the lesson title. 4. Notice that the phrase **“Playground lessons and sandbox”** remains in English. ### ✅ Expected Behavior The header should be fully localized to Spanish, matching the rest of the interface. Example translation: **“Lecciones y entorno de práctica”** or **“Lecciones y sandbox de C#”**. ### ❌ Actual Behavior - The phrase **“Playground lessons and sandbox”** is displayed in English. - Other interface elements (e.g., “Lecciones”, “Visita guiada”, “Enviar”) are correctly translated. ### 📸 Evidence The attached screenshots show the untranslated header text in both English and Spanish interface modes. ### 🧠 Possible Root Cause - Missing translation keys in the header component shared across playgrounds. - Hardcoded English text not linked to localization files. - Partial implementation of language switching for lesson headers.
Owner

Fix proposed in spikersoft-angular PR #25.

Finding: the header was already wired to Transloco and both keys are translated on master (menuTitle es = "Lecciones y sandbox de {{title}}", playgroundLabels.csharp.title es = "Playground de C#"). The header string already supplies the "lessons and sandbox" context, but it interpolated the full playground title, producing the redundant, partly-English "Lecciones y sandbox de Playground de C#".

Fix: interpolate the short language name ("C#") instead, so it reads "Lecciones y sandbox de C#" in Spanish and "C# lessons and sandbox" in English, consistently across all playgrounds — matching the suggested wording in this report.

Fix proposed in spikersoft-angular PR #25. Finding: the header was already wired to Transloco and both keys are translated on master (`menuTitle` es = "Lecciones y sandbox de {{title}}", `playgroundLabels.csharp.title` es = "Playground de C#"). The header string already supplies the "lessons and sandbox" context, but it interpolated the *full* playground title, producing the redundant, partly-English "Lecciones y sandbox de Playground de C#". Fix: interpolate the short language name ("C#") instead, so it reads "Lecciones y sandbox de C#" in Spanish and "C# lessons and sandbox" in English, consistently across all playgrounds — matching the suggested wording in this report.
Sign in to join this conversation.