Anyway, I needed a few strings translated. There are a ton of tools for doing such things, but... it's so easy to do, and hardly any code is required to make one yourself. So I built a script for extracting the strings to be translated — 13 lines of code. And then some JavaScript+jQuery to do the actual replacement — 8 lines of code. All that remained was to make the manual translations myself. This is the JS code:
Using dynamic programming languages that are flexible and powerful are great for adding data transformation features. And although I lack standard tooling for editing translations, the pros of a minimal implementation far outweigh the cons of adding third party bloat.
This is a generic tip for small applications: if you can implement something yourself using less than 30 lines of code instead of adding a dependency — do it!