Skip to content
Back to skills

Localization Urdu

ASecurity

Provide per-chapter Urdu translation toggle and manage translated content delivery. Use when translating chapters, caching translations, or implementing language toggles.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
developmentpythonfrontendbackend

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill localization-urdu --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Localization Urdu?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Localization Urdu
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-localization-urdu/badge)](https://www.skillsdirectory.com/skills/majiayu000-localization-urdu)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: localization-urdu
description: Provide per-chapter Urdu translation toggle and manage translated content delivery. Use when translating chapters, caching translations, or implementing language toggles.
---

# Localization Urdu Skill

## Instructions

1. **Translation pipeline**
   - Extract sections by heading from source Markdown/MDX
   - Translate via OpenAI/ChatKit translation model
   - Keep glossary for robotics terms (JSON file)
   - Cache translations with checksum per section
   - Rerun only when source checksum changes

2. **Storage**
   - Option A: Markdown copies (`.ur.mdx`) alongside English
   - Option B: Neon table `translations(section_id, lang, content)`
   - Tag Qdrant payload with `lang` for bilingual RAG

3. **Frontend**
   - Add language toggle in Docusaurus layout
   - Load Urdu content when available, fallback to English
   - Ensure chat widget passes desired language to backend

4. **Quality**
   - Spot-check key technical terms
   - Allow glossary overrides via JSON config
   - Keep technical terms consistent across chapters

## Examples

```python
# Translation function
async def translate_section(content: str, glossary: dict) -> str:
    prompt = f"""Translate to Urdu. Keep technical terms from glossary.
    Glossary: {glossary}
    
    Content: {content}
    """
    # Call OpenAI
    return translated_content
```

```json
// glossary.json
{
  "Physical AI": "فزیکل اے آئی",
  "Humanoid Robot": "ہیومنائیڈ روبوٹ",
  "ROS 2": "ROS 2",
  "NVIDIA Isaac": "NVIDIA Isaac"
}
```

## Definition of Done

- Translation pipeline runs and caches results; reruns are incremental
- Urdu toggle renders translated sections for at least one sample chapter
- Backend can return Urdu-context answers when requested

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.