Add view translations, refactor asset code a bit