← All projects

i18n-scan

by @hexxt-git

Active 18

extract raw text from JSX/TSX files for internationalization (i18n).

About this project

i18n-scan A CLI tool to extract raw text from JSX/TSX files for internationalization (i18n). Best paired with agentic ai tools like Cursor. Features Extracts text content from JSX elements Extracts text from specified JSX attributes (title, alt, placeholder, etc.) Supports TypeScript and JavaScript JSX files Configurable file extensions and attribute names Shows file path and line numbers for each extracted text Supports returning a single integer count of all matched texts instead of listing them Installation Install dependencies: Build the project: (Optional) Install globally: Usage Basic Usage Examples Options -e, --ext : Comma-separated list of file extensions (default: .tsx,.jsx) -a, --attributes : Comma-separated list of attribute names to extract (default: title,alt,placeholder) -t, --truncate : Truncate text to this length, 0 to disable (default: 30) -f, --filter-non-alpha: Filter out text containing only non-alphabetic characters (e.g., $, 123, 🎉) -l, --include-literals: Include string literals from objects, function calls, and validation schemas -d, --deps: Include dependency directories (nodemodules). By default, nodemodules is excluded.

From the project README on GitHub

Stars
18
Forks
1
Last push
25 Jun 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/i18n-scan.svg)](https://www.madeinalgeria.dev/projects/i18n-scan)

Related projects