Fix pagination on the translation page; add tests for this