Linux 软件免费装
Banner图

alinio

开发者 gentlesource
alinioapp
更新时间 2026年11月16日 07:34
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

translate translation multilingual machine translation language switcher

下载

1.4.0 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1

详情介绍:

Adds the alinio translation widget to all pages of the website. The widget translates the content and shows a language switcher. The widget is part of the plugin and asks the website itself, which passes the request on to alinio. The secret key of the website stays on the server, and the browsers of the visitors never connect to alinio: no IP address, user agent or cookie of a visitor reaches alinio. For privacy the widget can be loaded only after a visitor chooses a language, optionally after a notice about the external service (setting "Load on request"). The plugin needs an account at the alinio translation service, see External services below. Content marked with translate="no" or the class notranslate stays untranslated. Settings: The inline language switcher is placed at the top of the page with the wp_body_open hook. Themes that do not call wp_body_open can use the Container setting instead. The admin bar is marked translate="no". The widget calls the REST endpoint /wp-json/alinio/v1/proxy of the website. The endpoint answers only requests of the website itself and accepts 60 translation requests per minute from one visitor. Developers can change the limit with the filter alinio_visitor_limit (0 turns it off, e.g. behind a proxy that hides the IP addresses of the visitors) and the allowed hosts with the filter alinio_allowed_hosts. The plugin adds a suggested text for the website's privacy policy to the Privacy Policy Guide under Settings / Privacy. It links the alinio website and its privacy policy (alinio.de for a German user interface).

安装:

  1. Install the plugin under Plugins / Add New Plugin (search for "alinio") and activate it.
  2. Add the website in the alinio dashboard.
  3. Copy the secret key from the Plugins box of the website, enter it under Settings / alinio and enable the plugin.

屏幕截图:

  • Language switcher before the widget is loaded ("Load on click").
  • Notice about the external service ("Load on click and confirmation").
  • Suggested text in the Privacy Policy Guide.

常见问题:

Can the widget be loaded only after the visitor's consent?

Yes. Under Settings / alinio set "Load on request" to "Load on click and confirmation".

更新日志:

1.4.0 1.3.1 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0 First version.