{"slug":"bcp47-locale-and-fallback","source_name":"bcp47-locale-and-fallback","name":"BCP-47 Locale Identifiers and Fallback","description":"Builds well-formed BCP-47 locale identifiers (language-Script-REGION, e.g. zh-Hant-HK, sr-Latn, pt-BR) and resolves a missing translation through a correct fallback chain by trimming subtags right-to-left (zh-Hant-HK → zh-Hant → zh → the default), never crossing a script boundary, never sideways-matching a different region, and never showing the raw key. Use when picking the locale code for a resource file / language switcher, or deciding which available translation to serve a user whose exact locale is missing. Do NOT use for adapting dates/numbers/currency to a locale's display conventions, for plural-arm selection, or for translating prose.","version":1,"lift":{"pass_rate_delta_pts":null,"pass_rate_pct":35.7,"total_cases":14,"passed_cases":5,"tokens_delta_pct":492.4,"turns_delta_pct":0,"verdict":"mixed","benchmark_model":"gemini-3.5-flash","grading_method":"judged","completed_at":"2026-07-08T06:27:31.911931+00:00"},"skill_score":null,"benchmark_models":[{"model":"gemini-3.5-flash","headline":false,"delta_pts":null,"with_pass_pct":null,"without_pass_pct":null,"tokens_delta_pct":492.4,"turns_delta_pct":0,"total_cases":14,"cases_aggregated":14,"verdict":"mixed","never_hurt":true,"completed_at":"2026-07-08T06:27:31.911931+00:00","run_id":"cfddfc35-a225-4bad-a191-827f9190ddc0","version_number":1,"is_latest_version":true,"gate":"not_comparable"}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":false},"license":null,"install_count":0,"manifest_hash":"14b3b99cda53e6bdf5325654c077e437b92aab4cfd4dd4fd88e6e7d73574d502","raw_url":"https://app.decimal.ai/s/bcp47-locale-and-fallback/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/bcp47-locale-and-fallback"}