gettext is not listed in requireJS imports. This code does not work if you kill the server and try paging.