Localization of page numbers
This is not dependent on Angular, ngx-pagination etc versions, just a general question. Is it possible to localize page numbers for example into eastern arabic numbers without creating/overriding your template/component?
We use PipeTransform with Intl.NumberFormat internally to localize numbers, then it looks like <span>{{ item.contentCount | numberFormat }}</span> in the html code.
Can this transformer be applied via pagination-controls directly?
Hi,
Currently there is no support for this, you would indeed need to create a custom template.
Thanks for confirming @michaelbromley .
Is this something you'd be willing to accept a PR on? We've needed to localize ngx-paginate to support Arabic numerals, as well as Arabic translations. This involved a fair amount of tweaking, and we'd be happy to contribute it back.
Hi, yes, a PR would be welcome!
Hello, any updates about Arabic numbers and words?