Bug: Concepts section - inconsistent translation #213

Closed
opened 2026-05-26 17:36:59 +00:00 by Zhekrom · 1 comment

Title: Bug: Concepts section - inconsistent translation
Severity: Medium
Mode: C# lessons � Concepts section
Lesson ID / File: Concepts section (across all C# lessons)
Environment: Firefox (any version), Windows (any version)
Date/Time: May 26, 2026

Source Code
(Not applicable � content / translation issue)

Steps to Reproduce
1. Navigate to any C# lesson
2. Open the Concepts section
3. Browse through the different concept entries
4. Observe that the translation state varies per concept

Expected Output
All concept entries should be fully translated to Spanish, consistent with the platform's language setting.

Actual Output
The translation is inconsistent across concepts:
- Some concepts are fully translated to Spanish
- Others have a mix of English and Spanish words
- Several concepts are entirely in English
(Image examples referenced but not attached to this report)

Suggested Priority
Medium � affects comprehension of the learning material for Spanish-speaking users. The inconsistency makes it difficult to follow a coherent learning path.

Additional Notes
This appears to be the same systematic translation issue affecting the C# course. Likely caused by an incomplete or partial translation pass where some strings were missed.

Title: Bug: Concepts section - inconsistent translation Severity: Medium Mode: C# lessons � Concepts section Lesson ID / File: Concepts section (across all C# lessons) Environment: Firefox (any version), Windows (any version) Date/Time: May 26, 2026 Source Code (Not applicable � content / translation issue) Steps to Reproduce 1. Navigate to any C# lesson 2. Open the Concepts section 3. Browse through the different concept entries 4. Observe that the translation state varies per concept Expected Output All concept entries should be fully translated to Spanish, consistent with the platform's language setting. Actual Output The translation is inconsistent across concepts: - Some concepts are fully translated to Spanish - Others have a mix of English and Spanish words - Several concepts are entirely in English (Image examples referenced but not attached to this report) Suggested Priority Medium � affects comprehension of the learning material for Spanish-speaking users. The inconsistency makes it difficult to follow a coherent learning path. Additional Notes This appears to be the same systematic translation issue affecting the C# course. Likely caused by an incomplete or partial translation pass where some strings were missed.
Owner

Fix proposed in spikersoft-angular PR #24. Root cause: the Concepts pane only translated its chrome (kind labels, section headings) via Transloco; each concept's label/summary/details and example explanations came straight from the English csharp-concepts.data.ts, producing the mixed-language inconsistency.

Fix: a render-time prose overlay (new LANGUAGE_CONCEPT_TRANSLATIONS token, locale -> concept id -> translated prose) that the pane applies for the active locale, reacting to language toggles. A complete Spanish overlay for every C# concept is included; code tokens/signatures/example code/headers/versions are intentionally left unchanged. A guard test ensures every concept has a Spanish entry and that no overlay id or example index is stale.

Fix proposed in spikersoft-angular PR #24. Root cause: the Concepts pane only translated its chrome (kind labels, section headings) via Transloco; each concept's `label`/`summary`/`details` and example explanations came straight from the English `csharp-concepts.data.ts`, producing the mixed-language inconsistency. Fix: a render-time prose overlay (new `LANGUAGE_CONCEPT_TRANSLATIONS` token, locale -> concept id -> translated prose) that the pane applies for the active locale, reacting to language toggles. A complete Spanish overlay for every C# concept is included; code tokens/signatures/example code/headers/versions are intentionally left unchanged. A guard test ensures every concept has a Spanish entry and that no overlay id or example index is stale.
Sign in to join this conversation.