ruby-i18n / i18n

Internationalization (i18n) library for Ruby
MIT License
976 stars 408 forks source link

Allow passing scope argument to exists? #647

Closed misdoro closed 1 year ago

misdoro commented 1 year ago

I18n.t and I18n.t! both accept a scope argument that enables translation of a key within a particular namespace.

Add the same argument to exists? method, so that both I18n.t and I18n.exists? can be used with the same call pattern.

radar commented 1 year ago

Thanks @misdoro!