lib/routes/index.js
function (request, response) {
      var locale = request.params.locale;
      var sendFile = response.sendFile || response.sendfile;
      sendFile.apply(response, [path.join(configuration.directory, locale + configuration.extension)]);
    }
function (request, response) {
      var locale = request.params.locale;
      var sendFile = response.sendFile || response.sendfile;
      sendFile.apply(response, [path.join(configuration.directory, locale + configuration.extension)]);
    }
function ( request , response ) { var locale = request . params . locale ; var sendFile = response . sendFile || response . sendfile ; sendFile . apply ( response , [ path . join ( configuration . directory , locale + configuration . extension ) ] ) ; }
Sends a translation file to the client.
@param request
@param response
Sends a translation file to the client .