Cleaner way of translating vars