Lesson 4.0: About This Module
Bo Bo Bo
Module 4 Opening Monologue: File Formats, Parsers & Filters
Module: 4 — File Formats, Parsers & Filters (JSON, XLIFF, PO, YAML & WebVTT)
Tone: Authoritative, technical, structured, and pragmatic
Delivery Style: Direct monologue / video intro script for localization engineers
[Visual Blueprint]
Camera: Medium shot of the instructor at the workstation. Secondary monitor showcases side-by-side file format structures in VS Code: raw XML/XLIFF on the left, a PO translation file in the center, and a WebVTT caption file on the right.
On-Screen Graphic: Lower-third title slides in: Module 4 — File Formats, Parsers & Filters: Managing the Translation Payload.
Audio Track: Crisp, subtle synth pad builds briefly and fades down under the monologue.
[Instructor Script]
"Welcome to Module 4: File Formats, Parsers & Filters.
In the first three modules, you mastered your editor environment, neutralized byte-level character encoding corruption, and engineered resilient ICU message logic. You know how data should look and behave in memory.
Now, we face the operational reality of global engineering pipelines: How does localization data actually move between systems?
When developers write code, they store UI strings in standard development formats like JSON, YAML, or Android XML. But when those strings are sent out to professional translators, localization vendors, or Machine Translation engines, they can't just be handed raw source files. If a translator opens a complex React component or raw game script, one accidental deletion of a syntax tag, quote, or key name can break an entire build pipeline.
This is where the Localization Engineer bridges the gap between software development and translation operations.
You are the guardian of the file boundary. Your job is to extract translatable human text out of code files, encapsulate it in standardized interchange formats like XLIFF or PO, protect code tags using parser filters, and re-inject localized assets back into the code repository cleanly—without breaking syntax or introducing fatal build errors.
In Module 4, we will break down the primary file formats across the industry:
Structured Data Formats (
Lesson 4.1): Navigating JSON, YAML, and XML syntax rules, escaping strict boundaries, and preventing parser crashes caused by unescaped quotes or invalid indentation.Localization Interchange Standards (
Lesson 4.2): Working with XLIFF (XML Localisation Interchange File Format) and GNU Gettext PO files—understanding state tags, inline code segmentation, and metadata preservation.Linear Media & Subtitle Formats (
Lesson 4.3): Parsing WebVTT and SRT caption formats, managing cue timing block preservation, and handling inline formatting tags (<b>,<i>,<v speaker>).
By the end of this module, you will know how to construct parsing rules and file filters that seamlessly convert raw code into translation-ready packages and back again.
Let's dive straight in with Lesson 4.1: Structured Data Formats (JSON, YAML & XML)."
Resources
Ready to move on?
Mark this lesson complete when you’re ready.