//Browser example. Server would have it the same, just after calling Pomo = require('./pomo.js') window.onload = function() { /* Set a default domain for the Pomo.getText calls. If omitted, all calls to getText need to pass the domain set on Pomo.load, unless none was passed, in which case getText doesn't require a domain */ Pomo.domain = 'translation_domain'; //return a plain string instead of a