- this helps bring all the code together so we can extract it in the future - turning it into a class also lets us easily inject the i18n instance and store it locally