Skip to content

Search a React codebase for plaintext bypassing react-intl

Notifications You must be signed in to change notification settings

pbalogh/detect-untranslated-literals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

detect-untranslated-literals

Search a React codebase for plaintext bypassing react-intl

Uses the flow-parser to traverse your codebase (start at a high-level directory) and examine all the JSX nodes for untranslated text.

npm install -g detect-untranslated-literals

Sample usage:

detect-untranslated-literals /path/to/some/directory

Output will show any strings that are not being processed by react-intl along with filename and line number.

Based quite heavily on https://github.com/RReverser/esprima-fb/blob/fb-harmony/examples/detectnestedternary.js

About

Search a React codebase for plaintext bypassing react-intl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published