i18next/react-i18next ? reverse-engineered prompt
Reverse engineered prompt
Build me a React internationalization library that makes translating apps feel simple and natural.
I want it to work with the i18next ecosystem, so React components can read translations with a hook and a provider, and also use a Trans component for sentences that include links, bold text, variables, and counts. It should support normal React apps, server side rendering, and react native too.
Please include good TypeScript types, clear examples, and tests so the basic translation flow, language changes, plural handling, and rich text translations all work reliably. Keep the setup easy for someone starting from a plain React app with hardcoded text, and make sure the public API is clean and friendly. If you need current docs or examples to match how the ecosystem works today, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit