I want initialized i18next instances to support context-specific translation lookup through t(key, options) .
I want initialized i18next instances to support context-specific translation lookup through t(key, options) .: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The context separator should be configurable at init time with contextSeparator . For example, if an…
The task
The context separator should be configurable at init time with `contextSeparator`. For example, if an instance is initialized with `contextSeparator: '|'` and resources `{ friend: 'friend', 'friend|formal': 'colleague' }`, then `i18n.t('friend', { context: 'formal' })` should return `'colleague'`.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.