wordpress-plugin strata-polyglot
A localization plugin for Wordpress on Strata.
francoisfaubert/strata-polyglot
A localization plugin for Wordpress on Strata.
- Thursday, May 25, 2017
- by francoisfaubert
- Repository
- 1 Watchers
- 0 Stars
- 4,037 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
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 (en_US)., (*1)
~~~ php
array(),
"custom-post-types" => array(),
"i18n" => array(
"textdomain" => "my_website",
"default_locale_fallback" => true,
"locales" => array(
"en_CA" => array("nativeLabel" => "English", "default" => true),
"fr_CA" => array("nativeLabel" => "Français", "url" => "francais"),
"pi" => array("nativeLabel" => "Pirate"),
)
)
);
return $strata;
?>
~~~, (*2)
dev-master
9999999-dev
A localization plugin for Wordpress on Strata.
Sources
Download
The Requires
0.16.9
0.16.9.0
A localization plugin for Wordpress on Strata.
Sources
Download
The Requires
0.16.419
0.16.419.0
A localization plugin for Wordpress on Strata.
Sources
Download
The Requires