1use super::*; 2 3/// Extension trait that exposes the hook-context factory 4/// used by `App::use_i18n`. 5pub trait HookContextI18nExt { 6 /// Returns the `I18n` for the current hook context 7 /// slot. 8 /// 9 /// # Returns 10 /// 11 /// - `I18n` - A `I18n` value. 12 fn i18n() -> I18n; 13}