You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scanning now processes and tries to parse code in comments.
This means too many keys end up in the translation file, and scanning even fails on code that isn't used.
Provide an option to not scan comments for translation keys. (or don't do it at all, which is what I expected).
Motivation
Sometimes, commented out code contains translation calls. This code can e.g. be commented out temporarily. In this case, it doesn't make sense to translate these strings. Sometimes, the code in comments isn't even legal code, and still the parser tries to parse it.
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal
Scanning now processes and tries to parse code in comments.
This means too many keys end up in the translation file, and scanning even fails on code that isn't used.
Provide an option to not scan comments for translation keys. (or don't do it at all, which is what I expected).
Motivation
Sometimes, commented out code contains translation calls. This code can e.g. be commented out temporarily. In this case, it doesn't make sense to translate these strings. Sometimes, the code in comments isn't even legal code, and still the parser tries to parse it.
The text was updated successfully, but these errors were encountered: