Set up loader for frontend translation