I am trying to use Zeleznypa visual paginator. After installing it through composer and adding below to my services
I am getting below error. How can I start Nette\Localization\ITranslator service.
`Service ‘visualPaginatorFactory’: Service of type Nette\Localization\ITranslator needed by Zeleznypa\Nette\Utils\VisualPaginator::__construct() not found. Did you register it in configuration file? `
Can someone help?
- Member | 495
It seems like this visual paginator has translator as a dependency, but you
do not use any translator on your website.
So you will have to implement Nette\Localization\ITranslator interface, or, which is faster, use some translation addon to nette, for example install Kdyby\Translation https://github.com/…/Translation which should not take long.