Communitygithub.com

AlperTuncOrtak/crypto-data-pipeline

Muster für Internationalisierung und Lokalisierung. Erkennung hartcodierter Zeichenketten, Verwaltung von Übersetzungen, Locale-Dateien, RTL-Unterstützung.

Was ist crypto-data-pipeline?

Dieses Skill beschreibt Best Practices für Internationalisierung (i18n) und Lokalisierung (L10n) in Softwareprojekten. Es ist für Entwickler von Web-Apps, SaaS-Produkten oder Bibliotheken gedacht, die mehrsprachige Benutzeroberflächen unterstützen müssen. Das Skill behandelt Kernkonzepte wie Locale, RTL-Unterstützung und die Struktur von Übersetzungsdateien. Es bietet Implementierungsmuster für gängige Frameworks wie React (react-i18next), Next.js (next-intl) und Python (gettext). Darüber hinaus enthält es eine Checkliste für die Auslieferung, häufige Probleme und Lösungen sowie ein Skript (`scripts/i18n_checker.py`), um hartcodierte Zeichenketten und fehlende Übersetzungen zu erkennen. Das Skill hilft dabei, konsistente und skalierbare Lokalisierungslösungen zu planen und umzusetzen.

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

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

i18n & Lokalisierung

Internationalisierungs- (i18n) und Lokalisierungs- (L10n) Best Practices.


1. Kernkonzepte

BegriffBedeutung
i18nInternationalisierung – App übersetzbar machen
L10nLokalisierung – tatsächliche Übersetzungen
LocaleSprache + Region (en-US, tr-TR)
RTLRechts-nach-links Sprachen (Arabisch, Hebräisch)

2. Wann i18n verwenden

Projekttypi18n erforderlich?
Öffentliche Web-App✅ Ja
SaaS-Produkt✅ Ja
Internes Tool⚠️ Vielleicht
Einzelregion-App⚠️ Zukunft bedenken
Persönliches Projekt❌ Optional

3. Implementierungsmuster

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(_("Willkommen in unserer App"))

4. Dateistruktur

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

5. Best Practices

TUN ✅

  • Übersetzungsschlüssel verwenden, nicht Rohtext
  • Übersetzungen nach Funktion benennen
  • Pluralisierung unterstützen
  • Datums-/Zahlenformat pro Locale behandeln
  • Von Anfang an RTL planen
  • ICU-Nachrichtenformat für komplexe Zeichenketten verwenden

NICHT TUN ❌

  • Zeichenketten in Komponenten hartcodieren
  • Übersetzte Zeichenketten verketten
  • Textlänge annehmen (Deutsch ist 30% länger)
  • RTL-Layout vergessen
  • Sprachen in derselben Datei mischen

6. Häufige Probleme

ProblemLösung
Fehlende ÜbersetzungFallback auf Standardsprache
Hartcodierte ZeichenkettenLinter/Prüfskript verwenden
DatumsformatIntl.DateTimeFormat verwenden
ZahlenformatIntl.NumberFormat verwenden
PluralisierungICU-Nachrichtenformat verwenden

7. RTL-Unterstützung

/* CSS Logische Eigenschaften */
.container {
  margin-inline-start: 1rem;  /* Nicht margin-left */
  padding-inline-end: 1rem;   /* Nicht padding-right */
}

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

8. Checkliste

Vor der Auslieferung:

  • Alle benutzersichtbaren Zeichenketten verwenden Übersetzungsschlüssel
  • Locale-Dateien existieren für alle unterstützten Sprachen
  • Datums-/Zahlenformatierung verwendet Intl-API
  • RTL-Layout getestet (falls zutreffend)
  • Fallback-Sprache konfiguriert
  • Keine hartcodierten Zeichenketten in Komponenten

Skript

SkriptZweckBefehl
scripts/i18n_checker.pyHartcodierte Zeichenketten & fehlende Übersetzungen erkennenpython scripts/i18n_checker.py <project_path>

Wann verwenden

Dieses Skill ist anwendbar, um den im Überblick beschriebenen Workflow oder die Aktionen auszuführen.

Einschränkungen

  • Verwende dieses Skill nur, wenn die Aufgabe eindeutig dem oben beschriebenen Umfang entspricht.
  • Behandle die Ausgabe nicht als Ersatz für umgebungsspezifische Validierung, Tests oder Expertenüberprüfung.
  • Stoppe und frage nach Klärung, wenn erforderliche Eingaben, Berechtigungen, Sicherheitsgrenzen oder Erfolgskriterien fehlen.

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

Verwandte Skills