ouun/sage-polylang

Better Polylang Experience for Sage 10

Installs: 844

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 3

Open Issues: 0

Type:theme-plugin

v1.0.0 2023-03-28 19:28 UTC

This package is auto-updated.

Last update: 2024-12-22 16:43:48 UTC


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.