i18n-extract

Scan React/TypeScript codebases to extract hardcoded user-facing strings.

157|28|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/Fr-e-d/GAAI-framework --skill i18n-extract-fr-e-d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-extract
Source: https://github.com/Fr-e-d/GAAI-framework/tree/main/.gaai/core/skills/cross/i18n-extract
Command: npx skills add https://github.com/Fr-e-d/GAAI-framework --skill i18n-extract-fr-e-d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the tedious process of finding all hardcoded user-facing strings within a codebase that need to be internationalized, creating a comprehensive inventory for translation.

Core Features & Use Cases

  • String Detection: Scans React/TypeScript codebases for hardcoded strings in various contexts (JSX, attributes, template literals).
  • Classification: Organizes detected strings by domain and priority, flagging potential false positives.
  • Use Case: When setting up internationalization for a new application, this Skill generates the initial list of all translatable text, streamlining the translation workflow.

Quick Start

Scan the frontend dashboard codebase for hardcoded strings that need internationalization.

Frequently Asked Questions about i18n-extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find hardcoded strings for internationalization in a React codebase?

To find hardcoded strings for internationalization in a React codebase, this Skill scans your TypeScript files to identify and extract user-facing text from JSX, attributes, and template literals. It generates a structured inventory of all translatable strings to streamline your workflow.

Can I configure which files are scanned for string extraction?

Yes, you can configure file scanning for string extraction using glob patterns. This allows you to target specific directories within your TypeScript project and exclude irrelevant files from the internationalization inventory process.

Does this tool detect false positives when extracting user-facing text?

Yes, the tool detects and flags potential false positives during string extraction. It classifies identified hardcoded text by domain and priority, helping you distinguish actual user-facing strings from internal logic before proceeding with translation.

What is the best way to inventory translatable text in a TypeScript application?

The best way to inventory translatable text in a TypeScript application is to automate scanning with a tool that categorizes extracted strings by domain. This generates a comprehensive, structured report ready for translation workflows without manual searching.

Are there limitations to using automated string extraction for localization?

A limitation of automated string extraction for localization is the potential for false positives in complex codebases. While configurable rules help refine detection, you must still review the generated structured report to ensure all flagged template literals and attributes require translation.