Communitygithub.com

AlperTuncOrtak/crypto-data-pipeline

국제화 및 지역화 패턴. 하드코딩된 문자열 탐지, 번역 관리, 로케일 파일, RTL 지원.

crypto-data-pipeline란 무엇인가요?

이 스킬은 애플리케이션의 국제화(i18n) 및 지역화(L10n)를 위한 모범 사례를 제공합니다. 개발자는 이 스킬을 통해 하드코딩된 문자열을 탐지하고, 번역 파일을 구조화하며, RTL(오른쪽에서 왼쪽으로 쓰는 언어)을 지원하는 방법을 배울 수 있습니다. React(react-i18next), Next.js(next-intl), Python(gettext) 등 주요 프레임워크에서의 구현 패턴을 다루며, 로케일 파일 구조, 복수형 처리, 날짜/숫자 형식 변환 등 실무에서 필요한 내용을 포함합니다. 또한 `scripts/i18n_checker.py` 스크립트를 제공하여 프로젝트에서 하드코딩된 문자열이나 누락된 번역을 자동으로 점검할 수 있습니다. 이 스킬은 퍼블릭 웹 앱, SaaS 제품, 또는 다국어 지원이 필요한 모든 프로젝트에 적합하며, 내부 도구나 단일 지역 앱에서도 미래 확장성을 고려해 적용할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlperTuncOrtak/crypto-data-pipeline/tree/HEAD/skills/i18n-localization

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

i18n 및 지역화(L10n)

국제화(i18n)와 지역화(L10n) 모범 사례


1. 핵심 개념

용어의미
i18n국제화 - 애플리케이션을 번역 가능하도록 만드는 과정
L10n지역화 - 실제 번역 작업
Locale언어 + 지역 (en-US, tr-TR)
RTL오른쪽에서 왼쪽으로 쓰는 언어 (아랍어, 히브리어)

2. i18n을 사용해야 하는 경우

프로젝트 유형i18n 필요?
공개 웹 앱✅ 예
SaaS 제품✅ 예
내부 도구⚠️ 상황에 따라
단일 지역 앱⚠️ 미래 고려
개인 프로젝트❌ 선택 사항

3. 구현 패턴

React (react-i18next)

import { useTranslation } from 'react-i18next';

function Welcome() {
  const { t } = useTranslation();
  return <h1>{t('welcome.title')}</h1>;
}

Next.js (next-intl)

import { useTranslations } from 'next-intl';

export default function Page() {
  const t = useTranslations('Home');
  return <h1>{t('title')}</h1>;
}

Python (gettext)

from gettext import gettext as _

print(_("Welcome to our app"))

4. 파일 구조

locales/
├── en/
│   ├── common.json
│   ├── auth.json
│   └── errors.json
├── tr/
│   ├── common.json
│   ├── auth.json
│   └── errors.json
└── ar/          # RTL
    └── ...

5. 모범 사례

따라야 할 점 ✅

  • 원시 텍스트 대신 번역 키 사용
  • 기능별로 번역 네임스페이스 분리
  • 복수형 지원
  • 로케일에 따른 날짜/숫자 형식 처리
  • 처음부터 RTL 계획
  • 복잡한 문자열에는 ICU 메시지 형식 사용

피해야 할 점 ❌

  • 컴포넌트에 문자열 하드코딩
  • 번역된 문자열 연결(concatenate)
  • 텍스트 길이를 고정적으로 가정 (독일어는 30% 더 길어짐)
  • RTL 레이아웃 고려 누락
  • 같은 파일에서 언어 혼용

6. 자주 발생하는 문제

문제해결책
번역 누락기본 언어로 폴백
하드코딩된 문자열린터/검사 스크립트 사용
날짜 형식Intl.DateTimeFormat 사용
숫자 형식Intl.NumberFormat 사용
복수형 처리ICU 메시지 형식 사용

7. RTL 지원

/* CSS 논리 속성 */
.container {
  margin-inline-start: 1rem;  /* margin-left 대신 */
  padding-inline-end: 1rem;   /* padding-right 대신 */
}

[dir="rtl"] .icon {
  transform: scaleX(-1);
}

8. 체크리스트

배포 전 확인:

  • 모든 사용자 대상 문자열이 번역 키를 사용하는가
  • 지원되는 모든 언어에 대한 로케일 파일이 존재하는가
  • 날짜/숫자 형식이 Intl API를 사용하는가
  • RTL 레이아웃이 테스트되었는가 (해당하는 경우)
  • 폴백 언어가 설정되었는가
  • 컴포넌트에 하드코딩된 문자열이 없는가

스크립트

스크립트용도명령어
scripts/i18n_checker.py하드코딩된 문자열 및 누락된 번역 탐지python scripts/i18n_checker.py <프로젝트_경로>

사용 시기

이 스킬은 개요에서 설명된 워크플로우나 작업을 실행할 때 사용하세요.

제한 사항

  • 이 스킬은 위에 설명된 범위와 명확히 일치하는 작업에만 사용하세요.
  • 출력을 환경별 검증, 테스트 또는 전문가 검토를 대체하는 용도로 사용하지 마세요.
  • 필요한 입력, 권한, 안전 경계 또는 성공 기준이 누락된 경우 멈추고 명확히 요청하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

AlperTuncOrtak/crypto-data-pipeline

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

AlperTuncOrtak/crypto-data-pipeline

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlperTuncOrtak/crypto-data-pipeline

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

AlperTuncOrtak/crypto-data-pipeline

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

AlperTuncOrtak/crypto-data-pipeline

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

AlperTuncOrtak/crypto-data-pipeline

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

AlperTuncOrtak/crypto-data-pipeline

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

AlperTuncOrtak/crypto-data-pipeline

Best practices for Remotion - Video creation in React

AlperTuncOrtak/crypto-data-pipeline

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

AlperTuncOrtak/crypto-data-pipeline

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

AlperTuncOrtak/crypto-data-pipeline

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

AlperTuncOrtak/crypto-data-pipeline

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

AlperTuncOrtak/crypto-data-pipeline

Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

AlperTuncOrtak/crypto-data-pipeline

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

AlperTuncOrtak/crypto-data-pipeline

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

AlperTuncOrtak/crypto-data-pipeline

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

관련 스킬