It should be possible as roddeh-i18n seems close to i18n-js module. You could just add the roddeh-i18n config (en = i18n.create({values:{"Hello":"Hello"}})) in the setI18nConfig function from the i18n.js file. About plurals and genders, it's pretty cool and manage just by the roddeh-i18n so it should works without much more work.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi @merlier , thanks for sharing, I'm interested in how we can implement a context like this section on i18njs.com/
Do you know if it is possible and how we can implement it? What if I want to use Plurals or Genders with this approach?
Thanks for your help
It should be possible as roddeh-i18n seems close to i18n-js module. You could just add the roddeh-i18n config (en = i18n.create({values:{"Hello":"Hello"}})) in the setI18nConfig function from the i18n.js file. About plurals and genders, it's pretty cool and manage just by the roddeh-i18n so it should works without much more work.