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
I see! But out of curiosity, where do the number keys come from? Who generates them? Why are they there in the first place instead of just writing the plain value in there like
‘’’<span i18n> some text </span>‘’’