information on how messages are used in source code #357
Replies: 2 comments 2 replies
-
This will probably not work really well. You would probably mount a single component and render it in a headless browser an then take a screenshot. But then the component will probably miss global styles and will not look like it does in the real application. Another approach would be to inject a script during development. The developer will probably visit that page at least once to see if the reference message shows up. That injected script could take a screenshot of the full page and also highlight the place where the text gets shown with an outline or similar. |
Beta Was this translation helpful? Give feedback.
-
Related: The feature will be partially added for the ide extension with #376 but not as a core part of inlang for now. |
Beta Was this translation helpful? Give feedback.
-
Many useful tools can be developed if inlang provides information on how messages are used in source code.
The discussion originated in #351 (comment):
Beta Was this translation helpful? Give feedback.
All reactions