@rog0x/mcp-i18n-tools
@rog0x/mcp-i18n-tools
AI 에이전트를 위한 국제화 및 현지화 도구로, MCP(Model Context Protocol) 서버로 제공됩니다.
도구
detect_locale
주어진 텍스트 문자열의 언어와 로케일을 감지합니다. 감지된 언어 코드(BCP 47), 언어 이름, 문자 체계, 신뢰도 점수(0-1) 및 대체 언어 후보를 반환합니다.
지원 언어: 영어, 스페인어, 프랑스어, 독일어, 포르투갈어, 이탈리아어, 러시아어, 일본어, 한국어, 중국어, 아랍어, 힌디어, 태국어, 그리스어, 히브리어.
extract_i18n_keys
국제화해야 하는 하드코딩된 사용자 노출 문자열을 소스 코드에서 추출합니다. 다음에서 문자열을 찾습니다:
JSX/TSX 속성(
title,placeholder,label,alt,aria-label등)HTML 템플릿 텍스트 및 속성
console.log/console.warn/console.error호출throw new Error(...)메시지alert()/confirm()/prompt()대화상자i18n 관련 이름(
message,label,title등)을 가진 변수 할당
각 문자열의 줄/열, 주변 컨텍스트, 패턴 유형 및 제안된 i18n 키를 반환합니다.
analyze_translations
로케일 간 일관성을 위해 번역 JSON 파일을 분석합니다. 다음을 감지합니다:
누락된 키 — 참조 로케일에는 있지만 다른 로케일에는 없는 경우
추가 키 — 로케일에는 있지만 참조에는 없는 경우
구조 불일치 — 한 로케일에서는 문자열이지만 다른 로케일에서는 객체인 키
보간 불일치 —
{variable}자리 표시자가 로케일 간에 다른 경우빈 값 — 번역이 비어 있는 키
사용되지 않는 키 — 소스 코드에서 참조되지 않는 키(사용된 키 목록 필요)
plural_rules
CLDR 규칙에 따라 주어진 로케일의 복수형 범주를 생성합니다. 언어가 사용하는 복수형 범주를 표시하고 제공한 테스트 숫자를 분류합니다.
언어 | 범주 |
영어 | one, other |
프랑스어 | one, other |
러시아어 | one, few, many, other |
아랍어 | zero, one, two, few, many, other |
폴란드어 | one, few, many, other |
일본어 | other |
중국어 | other |
format_locale
Intl API를 사용하여 모든 로케일의 숫자, 통화, 날짜 및 상대 시간을 형식화합니다. 지원:
숫자 — 소수, 백분율, 단위; 간결/과학/공학 표기법
통화 — 기호, 좁은 기호, 코드 및 이름 표시
날짜 — 짧은, 중간, 긴, 전체 스타일 및 날짜 부분 분해
상대 시간 — 긴, 짧은, 좁은 스타일 및 자동 숫자 형식화
Related MCP server: i18n-tools-mcp
설정
npm install
npm run buildMCP 구성
{
"mcpServers": {
"i18n-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-i18n-tools/dist/index.js"]
}
}
}라이선스
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Localize your app from your AI agent: add strings, auto-translate, and route them to human review.
Localize apps from your AI assistant: translate locale files, set glossaries, connect GitHub repos.
AI-native translation management: push translation files, translate, review and audit strings.
Localize apps from your AI agent: create projects, add languages, import files, add strings, export.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables language models to manage Todoist tasks, projects, sections, labels, comments, and collaborators through natural language via the Model Context Protocol.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to read and write JSON translation files (i18n, i18next, react-i18next) via the Model Context Protocol.20 npm2-
- AlicenseNot gradedqualityBmaintenanceProvides internationalization MCP tools enabling AI agents to perform translations, locale management, and i18n operations.374 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides developer utilities like UUID generation, hashing, JSON formatting, environment information, and reusable prompts via the Model Context Protocol.-