Translations:Manual:$wgResourceModules/4/en

Here's a basic example for usage in an extension. You'd put this in your $extension file.