Use the currentPageReportTemplate attribute of the p:dataTable :
<p:dataTable id="tbl" var="x" value="#{dbBean.xSorted}" paginator="true" rows="20" currentPageReportTemplate="(Displaying {startRecord} - {endRecord} of {totalRecords}, Page: {currentPage}/{totalPages})"> ... </p:dataTable>
Text outside curly braces can be changed.
source share