Skip to main content
Glama
rog0x

@rog0x/mcp-i18n-tools

by rog0x

@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: todoist

설정

npm install
npm run build

MCP 구성

{
  "mcpServers": {
    "i18n-tools": {
      "command": "node",
      "args": ["D:/products/mcp-servers/mcp-i18n-tools/dist/index.js"]
    }
  }
}

라이선스

MIT

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A Model Context Protocol server for Wix AI tools

  • Model Context Protocol extension for Hebrew calendar

  • A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-i18n-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server