© 2018 Domizio DemichelisMIT License

I18n Extra

The i18n extra overrides the pagy_t method so it uses I18n.t. Use this extra only with multi-language apps since the I18n gem adds quite an overhead and slowers down Pagy.

See also I18n.

Synopsys

See extras for general usage info.

In the pagy.rb initializer:

require 'pagy/extras/i18n'

Files

This extra is composed of 1 small file: