-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate with Polylang plugin #13
base: master
Are you sure you want to change the base?
Conversation
includes/osanocc-polylang.php
Outdated
} | ||
|
||
function icc_translate( $config ) { | ||
global $icc_i18n_literals; | ||
$result = array(); | ||
if ( function_exists('pll_register_string')) { | ||
$a = json_decode($config, true); | ||
//there is more fields to be preserved than just text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//there is more fields to be preserved than just text | |
// There are more fields to be preserved than just text. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course :$
includes/osanocc-polylang.php
Outdated
* @param int $policy_page_id | ||
*/ | ||
function icc_translate_privacy_page( $url, $policy_page_id){ | ||
//die(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//die(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
I'm so sorry.
@kusinkay Your git client is set up with a non-GitHub email client ( |
Hi guys,
congrats for your plugin.
I found it useful but I need it to have translations for custom text.
Please consider to add this functionality to your becoming upgrades.
Thank you so much