WP Manifestindependent plugin directory
manifest / i18n / strata-polyglot

Strata Polyglot archived releases

Works hand in hand with Strata to bring localization of dynamic Wordpress objects.

by Francois Faubert · github.com/strata-mvc/strata-polyglot · website

0stars
4.1kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/strata-mvc/strata-polyglot/archive/refs/heads/master.zip

Also on Packagist as francoisfaubert/strata-polyglot:

composer require francoisfaubert/strata-polyglot
Polyglot Configuration Declare your application locales under ~/config/strata.php. You can specify the url key as well as the locale code. It is important that the locale code follows ISO standards. It must have either two characters (en) or be the complete version containing the country information (enUS). ~~~ php array(), "custom-post-types" = array(), "i18n" = array( "textdomain" = "mywebsite", "defaultlocalefallback" = true, "locales" = array( "enCA" = array("nativeLabel" = "English", "default" = true), "frCA" = array("nativeLabel" = "Français", "url" = "francais"), "pi" = array("nativeLabel" = "Pirate"), ) ) ); return $strata; ? ~~~

Releases

2 releases.

Tag
Published
0.16.9 latest
Sep 9, 2016 10 years ago
Apr 19, 2016 10 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.