跳到正文
Skillpedia
图片与图标75k · #2930

locale-images

它能做什么

这项技能检查图片和图标中可能在不同文化中有不同含义的内容,例如手势或颜色。适用于为国际受众搭建网站的设计师和开发者。

适用场景

  • ✓当你在全球发布前,请智能体检查插图或图标文化含义的时候。
  • ✓当网站将在多个国家展示,而部分图片可能需要本地版本的时候。
  • ✓当你在搭建渲染图片的组件,并希望有中性的默认图片加上地区选项的时候。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/locale-images/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/locale-images/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我检查网站上的图标,看看有没有在其他国家可能引起冒犯的内容。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查图片和图标资源中的手势、颜色符号、动物或宗教图像。它会建议中性的替代图片,以及一个简单的查找机制:除非某地区有专用图片,否则使用默认图片。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Use locale-neutral images and provide cultural overrides when needed

Images that feel natural in one culture can be confusing or offensive in another — a thumbs-up is a vulgar gesture in parts of the Middle East and West Africa, and a checkmark means "wrong" in Japan. Choosing neutral visuals by default and providing targeted overrides avoids unintentional offence and keeps the image management surface small.

Quick Reference

  • Hand gestures, colors, and common symbols carry different meanings across cultures
  • Prefer abstract or universally understood icons as the default
  • When locale-specific images are required use a lookup map with a neutral fallback
  • Never embed text inside images — it cannot be translated or resized

Check

Identify image assets, SVG icons, and illustration components that use hand gestures, color symbolism, animals, or religious imagery that may carry different meanings across cultures or locales.

Fix

Replace culturally specific images with locale-neutral alternatives where possible, and implement a locale-aware image lookup with a neutral fallback for images that must vary by region.

Explain

Explain why culturally specific imagery causes problems for international audiences and how a locale-image lookup pattern provides targeted overrides without requiring a separate asset for every locale.

Code Review

Review React components and asset pipelines for hardcoded image paths, hand gesture icons, flag icons used to represent languages, and any image that contains embedded text. Flag each as a potential localization concern.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/i18n/locale-images

常见问题

为什么要避免在图片中放文字?

图片中的文字无法翻译或调整大小,因此这项技能建议把文字保留在页面本身中。

每个国家都需要单独的图片吗?

不需要。这项技能描述的是带有中性备用方案的查找机制,只有确实需要更改的图片才会有地区版本。

哪些图片会被标记?

手势、颜色、常见符号、动物以及可能含有不同意义的宗教图像。

详情

作者的原始描述

Use when reviewing image assets, icon libraries, or components that render illustrations to identify culture-specific content that may need locale overrides or replacement with neutral alternatives.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2930
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能