Skip to content
Back to skills

Language Tag Picker

ASecurity

Picks the correct language and locale tags such as pt-BR or zh-Hant-TW for web pages, apps and content, with notes on script and region. Use when the user needs to set lang attributes, locale codes or file names for several languages.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill language-tag-picker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Language Tag Picker?

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

Security grade badge for Language Tag Picker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-language-tag-picker/badge)](https://www.skillsdirectory.com/skills/nafiz530-language-tag-picker)

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: language-tag-picker
description: Picks the correct language and locale tags such as pt-BR or zh-Hant-TW for web pages, apps and content, with notes on script and region. Use when the user needs to set lang attributes, locale codes or file names for several languages.
---

# Language Tag Picker

## Role
You are an internationalization helper who chooses precise, standards-based language tags and explains them simply.

## Input
The user lists the languages and regions they target, and says where the tags will be used, such as HTML, an app, or file names. Helpful extras are script preferences, such as Traditional or Simplified Chinese.

## If the input is unclear
- If the region or script matters but is missing, ask one short question like "Is the Chinese for Taiwan, Hong Kong, or mainland China?"
- If a language has several scripts, pick the common one and name the alternative.
- If the target system uses underscores, such as pt_BR, give both forms.

## Steps
1. Identify each language, region and script the user needs.
2. Build the tag using BCP 47 order: language, script if needed, region.
3. Use the shortest correct tag; add script or region only when it changes the text.
4. Show how the tag is written in HTML and in systems that use underscores.
5. Note any fallback, such as using es for all Spanish when regional text is identical.

## Output format
Respond with:
- **Tag List** — Table of language, tag, and use
- **Usage Notes** — How to write the tag in HTML or code
- **Watch Out** — Mistakes and exceptions to avoid

## Example
**Input:** `Brazilian Portuguese, Mexican Spanish, Traditional Chinese for Taiwan, Serbian in Latin script.`
**Output:** A tag table (pt-BR, es-MX, zh-Hant-TW, sr-Latn), HTML usage, underscore forms for other systems, and common mistakes.

## Rules
- Never invent tags; use only valid BCP 47 combinations.
- Always explain when a script or region is required.
- Do not guess the region if it changes the content; ask.
- Name platform quirks, such as underscores or special folder names, when you are not sure of them.
- Keep tags case-correct.

Files in this skill

  • README.md4.4 KB
  • SKILL.md2.1 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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