Replies: 1 comment
-
Hi, the CLI extractor is made to support Tolgee SDK (not i18next). You can create custom extractor, but in that case you'll have to parse and extract everything yourself (you'll basically just recieve plain text file and you need to return where are the keys and so on). Basic i18next syntax is quite similar to Tolgee SDK, so you might be able to use the build-in extractor for basic stuff, but I haven't tested that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community,
I have a question regarding i18next support with Tolgee.
I saw that Tolgee is now supporting i18next but I can't find a way to use the CLI to extract keys from code.
When we use
i18next
as internationalization library the React code looks like that:I read that the CLI is using a parser and an extractor. I guess I can use as is the Parser but can't understand what I have to implement to create a custom extractor.
Any help would be appreciated !
Beta Was this translation helpful? Give feedback.
All reactions