[wordpress插件] Custom Translation Files定制翻译文件

wordpress 插件 文章 2020-04-10 04:20 609 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Custom Translations

自定义翻译

Let’s say, you have translated a plugin or theme and have a mo file ready.

比方说,您已经翻译了插件或主题并准备了mo文件。

But the plugin author does not respond to your submission offer or you cannot contact the author for whatever reasons.

但是,插件作者没有对您的提交报价做出回应,或者您出于任何原因都无法与该作者联系。

In this case, you may be able to upload the file in the location that the plugin uses within the plugin’s directory but this is not ideal because when it is updated, your translation file will be gone.

在这种情况下,您可以将文件上传到插件在插件目录内使用的位置,但这并不理想,因为更新后,翻译文件将消失。

You have to repeat doing it.

你必须重复一遍。

This plugin solves this problem by allowing you to upload the mo file and lets WordPress use it.

此插件通过允许您上传mo文件并允许WordPress使用它来解决此问题。

What you need are:

您需要的是:

    • mo file (the translation file with a text domain prefix)
    • mo文件(带有文本域前缀的翻译文件)

    • text domain (usually the plugin/theme slug)
    • 文本域(通常是插件/主题标签)

    Set these in the setting page and the plugin will take care of the rest.

    在设置页面中进行设置,其余的将由插件处理。

    It’s simple and lightweight.

    简单轻巧。

安装步骤

    1. Upload custom-translation-files.php and other files compressed in the zip folder to the /wp-content/plugins/

    2. custom-translation-files.php 和其他在zip文件夹中压缩的文件上传到 / wp-content / plugins /

      code> directory.

    3. 代码> 目录。

    4. Activate the plugin through the ‘Plugins’ menu in WordPress.
    5. 通过WordPress中的“插件”菜单激活插件。

    6. Go to Dashboard -> Settings -> Custom Translation Files.
    7. 转到仪表板-> 设置-> 自定义翻译文件

    8. Add your items there.
    9. 在此处添加您的物品。

下载地址
https://downloads.wordpress.org/plugin/custom-translation-files.1.0.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Bootstrap Shortcodes for WordPressWordPress的Bootstrap简码
[wordpress插件] Clean WooCommerce – Remove suggestions & 'connect to woocommerce.com'清洁WooCommerce –删除建议并“连接到woocommerce.com”
[wordpress插件] Community Events社区活动
[wordpress插件] Ajax Login RegistrationAjax登录注册
[wordpress插件] Advance Canonical URL高级规范网址
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8526
问题? 8147
如何快速搭建抽奖助手小程序(无需代码知识) 5306
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6574
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5862
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5520
如何解决渲染层网络错误Failed to load media? 16768
小程序找号找回 释放昵称? 2780
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2653
删除部分微信用户个人数据的通知,怎么删除? 5830