How to Effectively Translate and Localize a WordPress Website

如何有效地翻译和本地化WordPress网站

2022-09-06 08:43 insight video interpreting

本文共907个字,阅读需10分钟

阅读模式 切换至中文

WordPress is no longer just a simple blogging platform. You can use WordPress to create any type of website, ranging from personal websites to e-commerce stores. One of the biggest benefits of WordPress is that you can customize it as much or as little as you want. And, once you build your dream website, you can translate and localize it by combining the strengths of the WPML plugin and your translation partner, Language Insight. The Basics of a WordPress Site Before you begin sending content for translation, it’s worth knowing more about some important elements that make up a WordPress website. Appearance The first thing every WordPress site needs is a theme, which is a set of pre-designed templates that defines the way your website looks. You can easily add a theme by going to Appearance from your WordPress site’s dashboard. If you’re looking to have a multilingual site, it’s a good idea to find a theme that’s translation ready. Content Once you’ve decided on the appearance of your page, you can move on to adding content to your site. By default, WordPress comes with two content types: Posts and Pages. Some themes also come with custom post types, which allow you to add content to your website in a manageable way. Movies, Portfolios and Testimonials are all examples of commonly used custom post types. Additional Plugins As your website grows, you may want to expand the functionality of it. There are thousands of free and paid plugins that make it possible to add features to your WordPress website. For example, WordPress form plugins allow you to build any type of form in minutes. With custom post type plugins, you can add unique content to your site that doesn’t fit into the built-in post types. And, once you fine-tune all the content on your site, you can translate it with the help of a multilingual plugin like WPML. Choosing the Right Multilingual Plugin WPML is the market-leading translation plugin for WordPress. It has everything you need to build a fully multilingual site: Ability to translate everything on your site, from posts and pages to texts from themes and plugins Compatibility with most WordPress themes, plugins, and page builders Top quality support and documentation Multiple SEO-friendly URL structure options The multilingual plugin also comes equipped with a Translation Management module, which integrates Language Insight with WPML. You can select the content you want to translate, the language you want to translate it into, and send everything off to Language Insight – all without leaving your WordPress site’s dashboard. Translating the Content on Your Site Depending on the nature of your website, you probably have most of your site’s content in posts, pages, or custom post types. With WPML, the translation process for all post types is the same. What’s more, any categories, tags, and custom taxonomies assigned to your content are sent to translation together with your posts and pages. Start by going to WPML → Translation Management: 1. Select the items you want to translate, the languages you want to translate them into, and click on Add selected content to translation basket. 2. Head over to the Translation Basket tab. Once you review the items you are sending for translation and set a batch name, choose Language Insight from the Translator dropdown menu. Then, click the Send all items for translation button. All that’s left to do is confirm the quotation you receive from Language Insight. Once that’s done, Language Insight can start translating! Other Texts on Your Site to Translate You already know that taxonomies are sent for translation together with the content in your posts and pages. But, there’s also the matter of other content that is built into your site. This includes texts coming from your theme, additional plugins installed on your site, as well as widget texts. For example, here’s some untranslated text in the site’s footer area: And here’s some untranslated text inside a button: These texts are also called strings. You can translate them by going to WPML → String Translation. Using the display filter at the top of the String Translation page, you can determine which strings to display, or search for the exact text you want to send for translation. Once you locate the texts, all you need to do is select them and then choose the languages you want to translate them into from the list. Then, click on the Add to translation basket button. Now, all that’s left to do is to head over to the Translation Basket tab in WPML → Translation Management and send the strings to your translation team at Language Insight. If at any point you can’t find the strings you’re looking for, you may need to scan the translation files of the related theme or a plugin. By default, WPML doesn’t scan or load all translation files into the database. Final Thoughts Once you learn more about what the WordPress core components are and how to use them, it’s much easier to understand the how of WordPress website translation. WPML’s integration with Language Insight provides you with a smooth translation process. By using the quality translation plugin with your translation team at Language Insight, you can easily translate your WordPress site and provide your audience with a fully multilingual experience.
WordPress不再只是一个简单的博客平台。您可以使用WordPress创建任何类型的网站,从个人网站到电子商务商店。 WordPress的最大好处之一是,您可以根据需要对其进行尽可能多或尽可能少的自定义。而且,一旦建立了梦想中的网站,就可以通过结合WPML插件和翻译合作伙伴Language Insight的优势来翻译和本地化它。 WordPress网站的基础知识 在开始发送内容进行翻译之前,值得进一步了解构成WordPress网站的一些重要元素。 外观 每个WordPress网站需要的第一件事是一个主题,这是一组预先设计的模板,定义了你的网站的外观。您可以通过从WordPress网站的仪表板转到外观来轻松添加主题。如果您希望拥有一个多语言网站,最好找到一个可以翻译的主题。 内容 一旦确定了页面的外观,就可以继续向网站添加内容。默认情况下,WordPress带有两种内容类型: 帖子和页面。有些主题还带有自定义帖子类型,可让您以可管理的方式向网站添加内容。电影,作品集和推荐书都是常用的自定义帖子类型的示例。 附加插件 随着网站的发展,您可能希望扩展它的功能。 有成千上万的免费和付费插件,可以为您的WordPress网站添加功能。例如,WordPress表单插件允许您在几分钟内构建任何类型的表单。使用自定义帖子类型插件,您可以向网站添加不适合内置帖子类型的独特内容。 而且,一旦您微调了网站上的所有内容,就可以借助WPML等多语言插件对其进行翻译。 选择合适的多语言插件 WPML是WordPress的市场领先翻译插件。它拥有建立一个完全多语言网站所需的一切: 能够翻译网站上的所有内容,从帖子和页面到主题和插件的文本 与大多数WordPress主题、插件和页面构建器的兼容性 最高质量的支持和文档 多个SEO友好的URL结构选项 多语言插件还配备了翻译管理模块,该模块将语言洞察力与WPML集成在一起。您可以选择要翻译的内容,要翻译成的语言,然后将所有内容发送到language Insight-所有这些都无需离开WordPress网站的仪表板。 翻译您网站上的内容 根据网站的性质,您可能会以帖子,页面或自定义帖子类型的形式拥有网站的大部分内容。使用WPML,所有帖子类型的翻译过程都是相同的。此外,分配给您内容的任何类别、标签和自定义分类都将与您的帖子和页面一起发送到翻译。 首先转到WPML → 翻译管理: 1.选择要翻译的项目,要翻译成的语言,然后单击将所选内容添加到翻译篮。 2.前往翻译篮选项卡。查看要发送的翻译项目并设置批处理名称后,请从 “转换器” 下拉菜单中选择 “语言洞察”。然后,单击 “发送所有项目进行翻译” 按钮。 剩下要做的就是确认您从Language Insight收到的报价。一旦完成,语言洞察力就可以开始翻译了! 您网站上要翻译的其他文本 您已经知道分类法与您的帖子和页面中的内容一起发送进行翻译。但是,还有其他内容内置在您的网站中的问题。这包括来自您的主题的文本,您网站上安装的其他插件以及小部件文本。 例如,以下是网站页脚区域中的一些未翻译文本: 这是按钮内的一些未翻译文本: 这些文本也被称为字符串。您可以通过转到WPML → 字符串翻译来翻译它们。 使用字符串翻译页面顶部的显示过滤器,您可以确定要显示哪些字符串,或者搜索要发送用于翻译的确切文本。 找到文本后,您需要做的就是选择它们,然后从列表中选择要翻译它们的语言。然后,单击 “添加到翻译篮” 按钮。 现在,剩下要做的就是转到WPML → 翻译管理中的翻译篮选项卡,然后将字符串发送给Language Insight的翻译团队。 如果在任何时候你找不到你要找的字符串,你可能需要扫描相关主题或插件的翻译文件。默认情况下,WPML不会扫描或将所有翻译文件加载到数据库中。 最终想法 一旦你了解了WordPress核心组件是什么以及如何使用它们,就更容易理解WordPress网站翻译的方式。 WPML与Language Insight的集成为您提供了平稳的翻译过程。通过与您在Language Insight的翻译团队一起使用quality translation插件,您可以轻松翻译您的WordPress网站,并为您的受众提供完全多语言的体验。

以上中文文本为机器翻译,存在不同程度偏差和错误,请理解并参考英文原文阅读。

阅读原文