{"repo":"gilbsgilbs/babel-plugin-i18next-extract","free":true,"listed":false,"github":"https://github.com/gilbsgilbs/babel-plugin-i18next-extract","clone":"git clone https://github.com/gilbsgilbs/babel-plugin-i18next-extract.git","description":"Babel plugin that statically extracts i18next and react-i18next translation keys.","language":"TypeScript","stars":169,"topics":["babel-plugin","i18next","i18n","extractor","internationalization","static-analysis","react","react-i18next"],"license":"MIT","category":"dev-tools","readme_excerpt":"babel-plugin-i18next-extract --- babel-plugin-i18next-extract is a Babel Plugin that will traverse your Javascript/Typescript code in order to find i18next translation keys. Features - ✅ Keys extraction in JSONv4 format. - ✅ Detection of i18next.t() function calls. - ✅ Full react-i18next support. - ✅ Plurals support. - ✅ Contexts support. - ✅ Namespace detection. - ✅ Disable extraction on a specific file sections or lines using comment hints. - ✅ Overwrite namespaces, plurals and contexts on-the-fly using comment hints. - … and more? Documentation You can check out the full documentation at i18next-extract.netlify.app. Quick Start Installation Minimal configuration If you don't have a babel configuration yet, you can follow the Configure Babel documentation page to get started. Declare the plugin like any other plugin in your .babelrc and you're good to go: You may want to specify additional configuration options: For an exhaustive list of configuration options, check out the Configuration page. Once the plugin is setup, you can build your app normally or run Babel through Babel CLI: Extracted translations land in the extractedTranslations/ directory by default.","default_branch":null,"files":null,"tree":[],"storefront":"/r/gilbsgilbs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gilbsgilbs/babel-plugin-i18next-extract/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}