Added localization support of pagination.