[1.6.x] Fixed #22622 -- Added ugettext_lazy import in docs

Backport of 7271f5db78 from master