updating all remaining functions in app.js to use translations