Title: Multilang Block
Author: Artur Piszek
Published: <strong>2021 年 2 月 5 日</strong>
Last modified: 2021 年 2 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/multilang-block/assets/icon-256x256.png?rev=2469350)

# Multilang Block

 作者：[Artur Piszek](https://profiles.wordpress.org/artpi/)

[下载](https://downloads.wordpress.org/plugin/multilang-block.0.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/multilang-block/#description)
 * [评价](https://cn.wordpress.org/plugins/multilang-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/multilang-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/multilang-block/#developers)

 [支持](https://wordpress.org/support/plugin/multilang-block/)

## 描述

Not every site needs 1:1 multilanguage experience. Sometimes you want to give your
visitors from a certain country a piece of information like “check my other site
in your language”, or provide a brief introduction.
 Multilang block was created
with this idea. Of course, nothing prevents you from wrapping all the content in
Multilang block, because it’s the best block out there!

## 屏幕截图

 * [[
 * An example of the Multilang block wrapping an introduction for Polish visitors.

## 区块

该插件提供了 1 个区块.

 *   Multilang Block Create hidden content visible only for speakers of other languages

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/multilang-block` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Insert “Multilang block” into your post or page
 4. Select a language for the block
 5. Every block INSIDE the multilang block will be visible only for people who have
    the selected language in `navigator.languages` of their browsers.

## 常见问题

### What can I put inside the Multilang block?

Everything. Except donuts, they get squished and the filling will be all over the
place.
 The block is functionally identical to the group block.

### How does multilang block know what languages users speak?

Users can set up languages in the browser settings. They are passed to `navigator.
languages` property.
 Multilang block reads this list and if the language you selected
is on there – block is displayed. It stays hidden for users that don’t have that
language set in browser settings.

### How is the content hidden?

In JavaScript. Post Content has the full content of the post, so it will probably
show up in RSS, and in similar delivery systems.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Multilang Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Artur Piszek ](https://profiles.wordpress.org/artpi/)

「Multilang Block」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/multilang-block/contributors)
为本插件所做的贡献。

[帮助将「Multilang Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/multilang-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/multilang-block/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/multilang-block/)，或通过[RSS](https://plugins.trac.wordpress.org/log/multilang-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/multilang-block/)。

## 更新日志

#### 0.1.0

 * Release

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.3.0 或更高版本 **
 *  已测试的最高版本为 **5.6.0**
 *  PHP 版本 ** 7.0.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/multilang-block/) 和 [Polish](https://pl.wordpress.org/plugins/multilang-block/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/multilang-block)
 * 标签
 * [language](https://cn.wordpress.org/plugins/tags/language/)[multilang](https://cn.wordpress.org/plugins/tags/multilang/)
   [multilanguage](https://cn.wordpress.org/plugins/tags/multilanguage/)[translation](https://cn.wordpress.org/plugins/tags/translation/)
 *  [高级视图](https://cn.wordpress.org/plugins/multilang-block/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/multilang-block/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/multilang-block/reviews/)

## 贡献者

 *   [ Artur Piszek ](https://profiles.wordpress.org/artpi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/multilang-block/)