如何以其他语言安装WordPress

Do you want to use WordPress in other languages? WordPress is fully translated into over 65 languages and can be used in your native language. In this article, we will show you how to install WordPress in other languages.

您是否要使用其他语言的WordPress? WordPress已被完全翻译成65多种语言,并可以使用您的母语。 在本文中,我们将向您展示如何以其他语言安装WordPress。

Installing and using WordPress in other languages

Since this is a comprehensive step by step tutorial, feel free to use the navigation below to get to the appropriate section.

由于这是一个详尽的分步教程,请随时使用下面的导航进入相应的部分。

To make it easy, we have created a video tutorial on how to install WordPress in other languages that you can watch below.

为简单起见,我们创建了一个视频教程,介绍如何以其他语言安装WordPress,您可以在下面观看。

演示地址

However if you just want to follow text-instructions, then you can follow our step by step tutorial on how to install WordPress in other languages.

但是,如果您只想按照文本说明进行操作,则可以按照有关如何以其他语言安装WordPress的分步教程进行操作。

WordPress其他语言入门 (Getting Started with WordPress in Other Languages)

In order to start a blog, the first thing you will need is to get WordPress hosting.

为了创建博客 ,您需要做的第一件事就是获得WordPress托管

We recommend using Bluehost. They are one of the largest WordPress hosting providers in the world. They are also an officially recommended WordPress hosting provider.

我们建议使用Bluehost 。 他们是全球最大的WordPress托管提供商之一。 他们还是官方推荐的WordPress托管提供商。

After signing up with a WordPress host, the next step is to install WordPress. We have a complete step by step tutorial on how to install WordPress properly.

使用WordPress主机注册后,下一步是安装WordPress。 我们有一个完整的分步教程, 介绍如何正确安装WordPress

WordPress in German
在WordPress安装过程中选择语言 (Choosing a Language During WordPress Installation)

WordPress 4.0 came with the new and improved internationalization support. Now users can choose a language for their WordPress website during the installation.

WordPress 4.0附带了新的和改进的国际化支持。 现在,用户可以在安装过程中为其WordPress网站选择一种语言。

WordPress allows you to select language during installation

This is particularly useful if you need installation instructions to be in your local language. However, if you didn’t select the language during your WordPress install process, then you can change it any time under WordPress settings.

如果您需要使用本地语言的安装说明,这特别有用。 但是,如果您在WordPress安装过程中未选择语言,则可以随时在WordPress设置下进行更改。

在WordPress中更改语言 (Changing Language in WordPress)

WordPress makes it super-easy to change the language on your website. Simply go to Settings » General in your WordPress dashboard, and scroll down to the bottom of the page. There you will see the option to select site language.

WordPress使更改网站上的语言变得非常容易。 只需转到WordPress仪表板中的“设置”»“常规” ,然后向下滚动到页面底部。 在那里,您将看到选择站点语言的选项。

Installing and changing language in WordPress settings

While WordPress has translations for over 162 languages, you will be only able to see languages that are fully translated (62).

尽管WordPress可以翻译超过162种语言,但您只能看到经过完全翻译的语言(62)。

If you do not see your language in the list, this does not mean that it is not available or that you can not use it.

如果您在列表中没有看到您的语言,这并不意味着该语言不可用或您无法使用它。

We will show you how to manually install language packs in WordPress.

我们将向您展示如何在WordPress中手动安装语言包。

手动安装其他语言的WordPress翻译文件 (Manually Installing WordPress Translation Files For Other Languages)

WordPress uses a gettext system for translations (localization and internationalization). Volunteer users from around the world use a main .pot template file to translate WordPress in their languages. This results into two files for each language. Portable Object format file with .po extension, and Machine Object file with .mo extension. You will need a .mo file for your language.

WordPress使用gettext系统进行翻译(本地化和国际化)。 来自世界各地的志愿者用户使用主要的.pot模板文件来翻译其语言的WordPress。 对于每种语言,这将导致两个文件。 扩展名为.po的可移植对象格式文件,扩展名为.mo的计算机对象文件。 您需要使用.mo文件来显示您的语言。

Go to the WordPress translation teams page to see if there is a WordPress translation available for your language.

转到WordPress 翻译小组页面,查看是否有适用于您的语言的WordPress翻译。

Finding your language files on WordPress Translators website

Next, click on the percentage value to see the status of the translation progress in your language and then click on current WordPress version.

接下来,单击百分比值以查看您的语言的翻译进度状态,然后单击当前的WordPress版本。

You will now reach GlotPress, which is a web based app used by WordPress team to manage and translate WordPress projects.

现在,您将到达GlotPress,这是WordPress团队用于管理和翻译WordPress项目的基于Web的应用程序。

Once there, you need to scroll down to the bottom until you see the export section. In the dropdown, select Machine Object Message Catalog (.mo) and then click on Export link.

到达那里后,您需要向下滚动到底部,直到看到导出部分。 在下拉列表中,选择“机器对象消息目录(.mo)”,然后单击“导出”链接。

Exporting translations

Repeat the process above and select Portable Object Message Catalog (.po) and then click on the Export link.

重复上述过程,然后选择“可移植对象消息目录(.po)”,然后单击“导出”链接。

After downloading and unzipping the language pack on your computer, you will need to connect to your website using an FTP client. Once connected, upload the language files to /wp-content/languages folder.

在计算机上下载并解压缩语言包后,您将需要使用FTP客户端连接到您的网站。 连接后,将语言文件上传到/wp-content/languages文件夹。

After you’re done uploading the file, return to the WordPress admin area. Go to Settings » General page and scroll down to site language option. You can now select the language you just uploaded because it will appear under installed languages.

上传完文件后,返回WordPress管理区域。 转到设置»常规页面,然后向下滚动到站点语言选项。 现在,您可以选择刚刚上传的语言,因为它将显示在已安装的语言下。

Installed languages
在多语言WordPress中使用英语管理界面 (Using an English Admin Interface in Multilingual WordPress)

Sometimes you may want to use WordPress in a different language while keeping the admin interface in English.

有时,您可能希望以其他语言使用WordPress,同时将管理界面保持为英语。

This is particularly helpful if you have admins who are not familiar with other installed languages or you give access to developers.

如果您的管理员不熟悉其他已安装的语言,或者可以授予开发人员访问权限,则此功能特别有用。

You will need to install and activate the English WordPress Admin plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您将需要安装并激活英语WordPress Admin插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, the plugin will add a language switcher in the WordPress admin bar. Each user can simply take the mouse over to the language switcher and select the admin interface language.

激活后,该插件将在WordPress管理栏中添加语言切换器。 每个用户只需将鼠标移至语言切换器,然后选择管理界面语言即可。

Switch WordPress admin interface to English

For more detailed instructions, take a look at our guide on how to use English WordPress admin on Multilingual site.

有关更多详细说明,请参阅我们的有关在多语言站点上使用英语WordPress管理员的指南。

创建多语言WordPress网站 (Creating a Multilingual WordPress Website)

WordPress can be used in different languages but creating content in multiple languages is not easily manageable by default.

WordPress可以使用不同的语言,但是默认情况下,不易管理多种语言的内容。

Luckily, there are several plugins that allow you to easily create and manage multilingual WordPress sites. These plugins allow you to create content in multiple languages and making it easier for your website visitors to switch languages.

幸运的是,有几个插件可让您轻松创建和管理多语言WordPress网站。 这些插件使您可以创建多种语言的内容,并使网站访问者更轻松地切换语言。

We recommend using WPML (WordPress Multi Language) plugin. This paid plugin is used by thousands of websites from all over the world to create user friendly multilingual websites with WordPress.

我们建议使用WPML(WordPress多语言)插件。 这个付费插件被世界各地成千上万的网站用来创建使用WordPress的用户友好型多语言网站。

Creating multilingual content in WordPress with WPML

See our guide on how to create a multilingual WordPress site with WPML for detailed instructions.

有关详细说明,请参阅有关如何使用WPML 创建多语言WordPress网站的指南。

If you are looking for a free solution, then you can checkout Polylang plugin. Take a look at our guide on creating multilingual WordPress site with Polylang.

如果您正在寻找免费的解决方案,则可以签出Polylang插件。 看看我们的有关使用Polylang创建多语言WordPress网站的指南

帮助以您的语言翻译WordPress (Help Translate WordPress in Your Language)

If you did not find an available translation for WordPress in your language, then perhaps you can help create one.

如果找不到您所用语言的WordPress可用翻译,那么也许您可以帮助创建一个。

WordPress is an open source software that is completely volunteer driven. See: Why is WordPress free and how does it make money?

WordPress是一个完全由志愿者驱动的开源软件。 请参阅: WordPress为什么免费,它如何赚钱?

This means that all available translations that you see right now are created by volunteer users from around the world (just like you). Check out Translating WordPress website for more information on how you can contribute.

这意味着您现在看到的所有可用翻译都是由世界各地的志愿用户创建的(就像您一样)。 请查看翻译WordPress网站,以获取有关您如何贡献的更多信息。

We hope that this article helped you install WordPress in other languages. You may also want to take a look at our list of 24 Must Have WordPress plugins for all websites.

我们希望本文能帮助您以其他语言安装WordPress。 您可能还想看看我们为所有网站提供24个必备WordPress插件列表。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-in-other-languages/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
安装 WordPress 可以分为两种情况:使用网站空间提供商的控制面板安装和手动安装。 1. 使用网站空间提供商的控制面板安装 大部分网站空间提供商都支持 WordPress 的一键安装,只需要在控制面板中找到“应用安装”、“软件管理”或“自动安装”等项,然后WordPress,填写安装信息,点击安装即可。 2. 手动安装 手动安装需要先下载 WordPress 安装包,然后将其上传到网站空间的根目录或子目录中,接下来按照以下步骤进行: 步骤1:创建 MySQL 数据库。在网站空间控制面板中找到“数据库管理”或“MySQL 数据库”等项,创建一个数据库,同时创建一个数据库用户,并将该用户添加到数据库中。 步骤2:解压 WordPress 安装包。将下载的 WordPress 安装包解压到网站空间根目录或子目录中。 步骤3:配置 WordPress。在网站空间中找到 wp-config-sample.php 文件,将其重命名为 wp-config.php,并修改以下内容: - 数据库名:填写步骤1中创建的 MySQL 数据库名称。 - 数据库用户名:填写步骤1中创建的 MySQL 数据库用户名称。 - 数据库密码:填写步骤1中创建的 MySQL 数据库用户密码。 - 数据库主机:一般为 localhost。 - 数据库字符集:一般为 utf8mb4。 步骤4:安装 WordPress。在浏览器中访问 WordPress 安装目录,按照提示进行安装,包括语言、填写站点标题和管理员账号等信息。 安装完成后,可以登录 WordPress 后台进行管理和设置。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值