Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

kusinkay
Copy link

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

}

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//there is more fields to be preserved than just text
// There are more fields to be preserved than just text.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course :$

* @param int $policy_page_id
*/
function icc_translate_privacy_page( $url, $policy_page_id){
//die();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//die();

Copy link
Author

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.

@szepeviktor
Copy link

@kusinkay Your git client is set up with a non-GitHub email client (juane@futijsux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants