使用 GlotPress 搭建自己的在线协作翻译平台

GlotPress 是 wordpress 的官方项目,用于帮助翻译人员在线协作,现在用于 wordpress 的官方语言翻译平台 。该项目运行于 wordpress 所以使用前必须安装 wordpress 。

该插件允许你创建自己的翻译平台。GlotPress 文档地址 ,Github 开源地址。

Ⅰ. 安装 GlotPress 

在插件页搜索 GlotPress 并安装并启用,你还可以手动安装 将/glotpress目录上传到/wp-content/plugins/目录。并在后台启动它。确保安装之后<home_url>/glotpress/ 进入该页面,如 https://unus.me/glotpress/。

Ⅱ. 配置

需要配置 wordpress 永久链接,或者之前已经配置完成。(After you have installed GlotPress, the only additional step you must do (or have done previously) is to configure your permalinks in WordPress. GlotPress requires a permalink setting other than “Plain”.
如果您不想通过默认路径(\ glotpress)访问GlotPress,可以通过在 wp-config.php 文件中添加以下行来更改此设置:

define('GP_URL_BASE', '<your-path-here>');

如果您希望从WordPress安装的根目录访问 GlotPress,您可以使用:

define('GP_URL_BASE', '/');

GlotPress 自带了一套用户模板,并且你可以自定义模板,但是你不能将它们存储在插件目录中,否则它们将在升级 GlotPress 时被覆盖。你应该在站点中的其他位置创建一个目录并将模板存储在那里,然后将以下行添加到 wp-config.php 文件中:

// /var/www/example.org/gp-templates 为你放自定义模板的位置
define( 'GP_TMPL_PATH', '/var/www/example.org/gp-templates' );

现在 GlotPress 已经成功运行。如何使用请参加官方文档,如需帮助请在下方留言。

使用 GlotPress 搭建自己的在线协作翻译平台》上有2条评论

  1. Jan

    Hey,
    lately I have finished preparing my ultimate tutorial:

    +++ [Beginner’s Guide] How To Make A Website From Scratch +++

    I would really apprecaite your feedback, so I can improve my craft.

    Link: https://janzac.com/how-to-make-a-website/

    If you know someone who may benefit from reading it, I would be really grateful for sharing a link.

    Much love from Poland!
    Cheers

    回复
  2. Jan Zac

    Hello ,

    I saw your tweets and thought I will check your website. Have to say it looks really nice!
    I’m also interested in this topic + have recently started my journey as young entrepreneur.

    I’m also looking for the ways on how to promote my website. I have tried AdSense and Facebok Ads, however it is getting very expensive.
    Can you recommend something what works best for you?

    Would appreciate, if you can have a quick look at my website and give me an advice what I should improve: https://janzac.com/
    (Recently I have added a new page about Rockwall Investments and the way how normal people can make money with this company.)

    I wanted to subscribe to your newsletter, but I couldn’t find it. Do you have it?

    Hope to hear from you soon.

    P.S.
    Maybe I will add link to your website on my website and you will add link to my website on your website? It will improve SEO of our websites, right? What do you think?

    Regards
    Jan Zac

    回复

发表评论

电子邮件地址不会被公开。 必填项已用*标注