定制 ouun/sage-polylang 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ouun/sage-polylang

最新稳定版本:v1.1.0

Composer 安装命令:

composer require ouun/sage-polylang

包简介

Better Polylang Experience for Sage 10

README 文档

README

Latest Stable Version Total Downloads License

This package is an extended fork of the "generoi/sage-poylang" package. It provides a better Polylang experience for Sage 10 by adding the following features:

  • Auto-Registers (pll_register_string()) your textdomain strings for translation with Polylang Translation System
  • Improves the Poylang Translation System by displaying the pretranslated strings from the .mo translation files, but allows you to...
  • Override the pretranslated strings with your own translations in the Polylang Translation System

This is a great way to provide a better translation experience for your clients, while still allowing you to provide your own translations.

Installation

$ composer require ouun/sage-polylang

Getting Started

Publish the Polylang config file with Acorn:

$ wp acorn vendor:publish --provider="Ouun\Sage\Polylang\Providers\PolylangServiceProvider"

Usage

All strings in your theme will be automatically registered with Polylang. You can then translate them in the Polylang Translation System. If you have .mo translation files in your theme, they will be used as the pretranslated strings. You can then override these strings with your own translations in the Polylang Translation System.

统计信息

  • 总下载量: 1.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-28