Gettext editor for VS Code, by Zovo. Click a .po or .pot file and it opens as a translation table: source text on the left, translation on the right, with filters for untranslated and fuzzy strings. Save, and the file keeps its comments, obsolete entries, order and line wrapping. Compiled .mo files open read-only as the same table.
Open .po and .pot files as a table. Each row shows the context (msgctxt), the source text, the translation, translator comments, comments for translators and the source references. Plural strings get one field per plural form, labelled with example numbers from the file's plural rule (for Russian: form 0 for 1, 21, 31; form 1 for 2, 3, 4; form 2 for 0, 5, 6).
Filter by All, Untranslated, Fuzzy, Done and Obsolete, each with its count. The search looks in the source, the translation and the context at once.
Translate in place: click a translation, type, and press Ctrl+Enter (Cmd+Enter) for the next one. Newlines, tabs and spaces at the start or end stay visible.
Tick or untick Fuzzy on a string. The progress bar shows done and fuzzy strings.
Edit the header: language, plural rule (with the forms it gives), translator and the other fields.
Save safely. An edit rewrites only the lines of that one entry, wrapped like GNU gettext wraps them, or not wrapped if the file is not. Everything else stays byte for byte: comments, obsolete (#~) entries, the order of entries, blank lines and line endings. A file you only open is never written.
Raw Text opens the same file in the normal text editor beside the table. Type in either one; undo and redo are VS Code's own and work across both.
Open compiled .mo catalogs read-only as the same table (both byte orders, plural forms and contexts). PO Text opens the catalog as .po text in a new tab. A .mo file that is not a gettext catalog (Modelica source uses .mo too) opens in the normal text editor.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to Gettext PO Editor & MO Viewer
Update from POT. Merge a new .pot into every .po file like msgmerge: translations kept, changed strings matched and marked fuzzy, removed ones made obsolete.
QA check. Placeholder, HTML tag, newline and plural form mistakes across all locales, in the Problems panel and a Markdown or CSV report.
Compile .mo and convert. Compile .po to .mo, export to XLIFF 1.2 or CSV for translators, and import the translated file back as undoable edits.
Yes. Gettext PO Editor & MO Viewer is free and MIT licensed.
How do I install Gettext PO Editor & MO Viewer?
Click "Install in VS Code" above, or search for zovo.zovo-gettext-editor in the Extensions view.
Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-gettext-editor/](https://vscode.zovo.one/extensions/zovo-gettext-editor/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
Auto rename tag and auto close tag as you type in HTML, JSX/TSX, Vue, Svelte, PHP, Blade, Twig, XML and Markdown. One undo step for both tags, never pairs <br> or TypeScript generics, highlights the matching tag. Free, no sign-in, works offline.
Run C++ and C code with one click: compile and run the current file with gcc, g++, clang or clang++. Interactive input in the terminal, an Input panel with saved test cases and diffs, errors in Problems, Stop for endless loops, per-file flags. Free, no sign-in, works offline. Zovo Pro adds a sanitiz
JavaScript playground and TypeScript scratchpad for VS Code: the value of each line shows at the end of the line as you type, with console.log output and errors on their own lines. A live JS and TS runner for quick tests and a REPL-style scratch file, with no tsconfig, no setup and no sign-in. Free,
Free and offline. CSS class names and id completion in HTML, React, Vue, Svelte, Angular, PHP and Blade, from every CSS, SCSS and Less file in your project, <style> blocks, linked style sheets and CSS modules. Go to definition and hover. Light on CPU in big monorepos.
Free HTML preview and HTML viewer beside your editor. Linked CSS, JS and images load, it updates as you type, and nothing is sent anywhere. No sign-in, no server, works offline. Zovo Pro adds save as one file, an accessibility and SEO check and a folder link check.
XSD viewer for VS Code: open XML Schema (.xsd) files and the schemas in .wsdl files as a tree and a diagram, with imports and includes resolved across the workspace, search and jump to line. Offline, no account.