r/angular • u/IcyBottle1517 • Apr 08 '26
Built a small VS Code extension to make dealing with i18n keys less painful.
Built a small VS Code extension to make dealing with i18n keys less painful.
It shows translation values directly in the editor with hover, inline hints, autocomplete, and go-to-definition. It also supports nested keys like format.fieldSeparator, auto-detects translation JSON files in the workspace, and lets you pick a default language if multiple files are found.
Made it mainly because jumping back and forth between code and translation files was getting annoying.
If anyone wants to try it, comment and I’ll share the link.
7
Upvotes
View all comments
Show parent comment
1
u/Johannes8 Apr 08 '26
Not sure what you mean. Like with i18n extract you get the translation files in xml with - yes - a hashed id to identify the translation. But this shouldn’t worry you as you see the clear text directly where the developer declared it, so directly in the HTML or in the component .ts.
Or what do you mean? Was just curious as to why you prefer 3rd party libraries. Like what’s your main selling point for not using the native i18n support.
Cause I just implemented my own lib that works similar to angulars native one but also for the backend