Skip to content

Better Polylang experience for Roots Sage

Notifications You must be signed in to change notification settings

jackluu775/sage-polylang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better Polylang Experience for Sage 10

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.

About

Better Polylang experience for Roots Sage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%