M1 Diagnostic: Workspace & File Integrity Pre-Flight Check
This multi-part exercise tests your ability to setup an environment, recover from file-system corruptions, sanitize rich-text errors in VS Code, and ensure relative path integrity across all three core localization verticals (Software, Video Games, and Linear Media).
Overview & Objective
Before advancing to Module 2: Respecting Global Alphabets & Accents, you must pass this Module 1 Diagnostic Pre-Flight Check.
This multi-part exercise tests your ability to setup an environment, recover from file-system corruptions, sanitize rich-text errors in VS Code, and ensure relative path integrity across all three core localization verticals (Software, Video Games, and Linear Media).
Scenario Briefing
You have received an urgent localization drop from an external client team containing localized assets for a global product launch. The project manager reports multiple build failures:
The automated pipeline cannot locate the software UI string file.
The game localization string table causes syntax parsing crashes on launch.
The linear media subtitle track exhibits improper line breaks and hidden file extensions.
Your task is to open the project folder in VS Code, diagnose every technical fault, repair the files, and verify them against the pre-flight requirements.
Part 1: Hands-On Diagnostic Execution
Step 1: Environment Setup
Download or create a root working folder named
module_1_diagnostic.Open
module_1_diagnosticin Visual Studio Code (Cmd + Oon macOS /Ctrl + K Ctrl + Oon Windows).Ensure system file extensions are explicitly visible in your operating system.
Step 2: Diagnosing & Repairing Asset #1 (Software UI)
File Location:
assets/loc/software/ui_strings_fr.json.txtIssues Present: Secret
.txtappended extension; typographical "smart" quotes (“”) breaking JSON syntax.
Inspect the filename in the VS Code Explorer panel.
Rename the file to remove
.txt, preserving strictlyui_strings_fr.json.Open
ui_strings_fr.jsonin VS Code and inspect the contents:JSON
ui_strings_fr.jsonjson{ “title_main”: “Bienvenue dans l'application”, “btn_continue”: “Continuer” }Use VS Code Replace (
Cmd + Option + Fon macOS /Ctrl + Hon Windows) to globally replace all curly quotes (“and”) with standard straight quotes (").Verify that VS Code displays zero red syntax warnings and that the status bar shows
UTF-8encoding andJSONlanguage mode.
Step 3: Diagnosing & Repairing Asset #2 (Game UI String Table)
File Location:
assets/loc/games/quest_dialogue_de.jsonIssues Present: Unescaped inner quotes in dialogue text causing JSON string boundary breaks.
Open
quest_dialogue_de.jsonin VS Code:JSON
quest_dialogue_de.jsonjson{ "quest_01": "Er sagte: "Willkommen!" und ging weiter.", "btn_accept": "Akzeptieren" }Locate the unescaped inner quotes around
"Willkommen!"on line 2.Insert backslash escape characters (
\) before each inner quotation mark:JSON
quest_dialogue_de.jsonjson{ "quest_01": "Er sagte: \"Willkommen!\" und ging weiter.", "btn_accept": "Akzeptieren" }Save the file (
Cmd + S/Ctrl + S).
Step 4: Diagnosing & Repairing Asset #3 (Linear Media Subtitles)
File Location:
assets/loc/media/intro_subtitles_es.vttIssues Present: Long caption lines stretching off-screen horizontally; unverified line breaks.
Open
intro_subtitles_es.vttin VS Code.Enable Word Wrap (
Option + Zon macOS /Alt + Zon Windows) to ensure long caption lines wrap visually within the active editor viewport without creating horizontal scrollbars.Verify that the Status Bar displays
UTF-8encoding.
Part 2: Auto-Graded Diagnostic Quiz
Answer the following questions based on your completed diagnostic execution.
Loading interactive content…
Diagnostic Verification Checklist
[ ]
ui_strings_fr.jsonhas no appended.txtextension and contains standard straight quotes (").[ ]
quest_dialogue_de.jsoncontains escaped inner quotes (\"Willkommen!\") with zero syntax errors.[ ]
intro_subtitles_es.vttis saved in UTF-8 format with Word Wrap enabled (Option+Z/Alt+Z).[ ] All quiz questions answered correctly with 100% score threshold.
Ready to move on?
Mark this lesson complete when you’re ready.