Trilingual HTML edition
Portable case portfolio
I wanted to bring cases and supporting documents into an interview where internet access might be unreliable.
My contribution
I organised five cases in English, German and Russian. A Node.js build checks that each translation includes the same supporting documents.
Outcome
One offline HTML file contains all three editions and eight screenshots. Readers can switch languages within a case.
The MikroPlan case in three languages
English
Connecting Support and Development
German
Support und Entwicklung verbinden
Russian
Связь между поддержкой и разработкой
How it was made
Link to this sectionBuild
- Node.js and JavaScript
- A local script checks unique identifiers, compares translation structures and assembles the document from its HTML template, records and images.
Reader interface
- HTML, CSS and vanilla JavaScript
- Language selection, case navigation, a searchable document library, image dialogs and printing run inside the opened file.
- Reader’s browser
Data and media
- JSON, embedded image data and Web Storage
- Translated records and eight screenshots travel inside the HTML. Reused images are encoded once, and the browser remembers the language preference when storage is available.
Verification
- Node.js assertions and browser checks
- A startup check catches unintended printing or downloading. Browser checks covered the image gallery, translations, console errors and mobile overflow.