Linux 软件免费装

Benjamin Thiers Foreign Language Accessibility Detector

开发者 bthiers
更新时间 2026年8月12日 18:21
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

language a11y accessibility wcag screen-reader

下载

1.8.2

详情介绍:

This plugin adds a Language Detection menu to the WordPress admin area. From there, you can select a post or page and see a preview of its content, with any foreign language passages highlighted for you. The plugin currently recognizes five languages: French, English, Spanish, German and Italian. A simple checklist lets you approve or reject each highlighted passage one by one, so nothing is changed without your review. Once you approve a passage, it is permanently saved in the content as a span element carrying the correct language attribute. This tells screen readers and other assistive technology to switch to the right pronunciation for that piece of text, instead of reading it aloud as if it were written in the site main language. This directly improves the accessibility of your content for people who rely on screen readers or text to speech tools. The plugin detects languages using a statistical method that looks at common letter patterns, rather than sending your content to any outside website or service. Nothing ever leaves your own server, and no data is shared with anyone. Please note that the language attribute added by this plugin is invisible to regular visitors. It has no effect on how the text looks on the page. Only the plugin admin screen shows a colored highlight, so you can see and check which passages have been detected. Correctly identifying the language of text passages is one of the accessibility success criteria referenced by European accessibility regulation, which applies across the European Union. This plugin helps website owners address that specific requirement. Main features A note on privacy This plugin does not collect any personal data, does not set any cookies, and does not send any information to outside websites or services. Every step of the language detection process happens locally, on your own server, using dictionaries that are bundled with the plugin itself.

安装:

  1. Upload the benjamin-thiers-foreign-language-accessibility-detector folder to the /wp-content/plugins/ directory, or install the plugin directly from the WordPress plugin directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to the new "Language Detection" menu to analyze a piece of content.

升级注意事项:

1.8.2 Minor UX improvement, no action required.

常见问题:

Does this plugin call any external service?

No. Language detection is performed locally using a bundled statistical library and dictionaries. No content is sent anywhere.

Does the lang="xx" attribute change how the text looks on the front end?

No. It is a purely semantic HTML attribute used by assistive technologies (screen readers, text-to-speech). It has no visual effect for sighted visitors.

What happens to content already validated if I deactivate or uninstall the plugin?

Passages already saved as <span lang="xx"> directly in a post's content remain in that content after deactivation or uninstallation, since they were written into the post content itself. Passages managed for page-builder content (stored as post meta) will simply stop being applied once the plugin is deactivated.

Can I add words or expressions that aren't detected automatically?

Yes, using the custom glossary (term -> language). Terms added there always take priority over automatic detection.

更新日志:

1.8.2 1.8.1 1.8.0 1.7.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0