I poke around in node_modules with some regularity (often in combination with the debugger) and it’s always nice to find actual source files, not just source maps.
Roll 12 6-sided dice in turn, record the sequence. What are the chances that specific sequence should be rolled? Less than 1 in 2 billion. Anything remarkable about that? Clearly not.
The latter is roughly what we do on the project I work on:
English string directly in the source, plus a human-readable identifier that helps translators understand the context of the string they’re translating. One script to extract all strings, and another to load all translations.