i18next validation
#2004
-
In console zen, I am trying to use eslint-plugin-i18next to catch all strings which are not wrapped in translate functions. However, the text component of paste does not use quotes on the strings, so the plugin does not catch them. Any ideas or recommendations on how to tackle this? |
Beta Was this translation helpful? Give feedback.
Answered by
TheSisb
Nov 5, 2021
Replies: 1 comment 2 replies
-
Hello @pradyuk, According to their docs, it should translate just fine. The Paste Text component is used like this: <Text>Hello</Text> which matches what they claim to be detecting. Can you elaborate on what specific issue you're having? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
loreina
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @pradyuk,
According to their docs, it should translate just fine. The Paste Text component is used like this:
which matches what they claim to be detecting. Can you elaborate on what specific issue you're having?