Forum Replies Created

Viewing 15 replies - 16 through 30 (of 54 total)
  • Thread Starter mdugre

    (@mdugre)

    OK, here’s what I have so far and it’s ALL related to Profile Builder

    Customs fields

    1. All INPUT type fields are compatible with Polylang WITHOUT the need to implement the plug-in described on https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/support-themes-plugins/shortcode-add-support-polylang-plugin/

    2. Special fields such as select, radio button and others are problematic. The label is translated BUT, the selection/content don’t show up for translation. They CAN be translated with the plugin described on https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/support-themes-plugins/shortcode-add-support-polylang-plugin/ AND using code like <span lang=”en-CA”>Username</span><span lang=”fr-FR”>Nom d’utilisateur</span> BUT you get funky results when displaying.

    3. Translating ANY PB strings such as the below resets ALL the strings to the set default language

    profile-builder-pro wppb_user_emailc_default_registration_email_subject A new account has been created for you on {{site_name}}
    English : A new account has been created for you on {{site_name}}
    Fran?ais: A new account has been created for you on {{site_name}}

    profile-builder-pro wppb_user_emailc_default_registration_email_content <h3>Welcome to {{site_name}}!</h3> <p>Your username is:{{username}} and password:{{password}}</p>
    English : <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p>
    Fran?ais: <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p>

    Fields with special formatting such as the below CAN be translated BUT, pardon my French, it’s a pain and a half and more often than not, resets all the strings to the set default language

    <h1 style=”text-align: center;”><span style=”background-color: #bff8fc; border: 1px solid #506ef4; padding: 2px 5px; border-radius: 3px;”>Demande d’accès à la section membre</span></h1>

    Thread Starter mdugre

    (@mdugre)

    Hi Chrystl,

    As far as I can tell, the conflicting problem is Profile Builder (Pro) and has to do with custom fields. Some translations are happening BUT others are not. As far as those that do not, when hitting the save button, all translated strings revert back to the default English version.

    After trying many things including switching to the 2015 Theme and then reverting back to Customizr

    1. Where I was allowed (some being locked), deleted all PB Pro entries in Polylang’s string translation table

    2. In PB Pro’s managed Field option, deleted ALL custom fields (this also deleted all extra fileds added in wp-users)

    3. Now recreating all custom fields and testing them in Polylang as I go.

    Painful process but, I don’t see any other way of finding out which custom field is causing everything to reset.

    Thread Starter mdugre

    (@mdugre)

    Hi Chrystl,

    Never saw that you requested a list of the plugins I use, here you go

    Black Studio TinyMCE Widget
    Custom Sidebars
    Easy Google Fonts
    Gmedia Gallery
    POLYLANG
    Post Duplicator
    Profile Builder Pro
    Regenerate Thumbnails
    Social Media Feather
    Ultimate Product Catalogue Plugin
    User Login Log
    Visual Form Builder Pro (VBF Pro)
    VFB Pro – Form Designer
    Wordfence Security
    WordPress Access Control
    WordPress SEO
    WP Edit

    FYI, Here are a few examples of strings on Page 1 that if I translate, BOOM, everything reverts back to the original English version.

    <i>profile-builder-pro wppb_user_emailc_default_registration_email_subject A new account has been created for you on {{site_name}}
    English : A new account has been created for you on {{site_name}}
    Fran?ais: A new account has been created for you on {{site_name}}

    profile-builder-pro wppb_user_emailc_default_registration_email_content <h3>Welcome to {{site_name}}!</h3> <p>Your username is:{{username}} and password:{{password}}</p>
    English : <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p>
    Fran?ais: <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p>

    profile-builder-pro wppb_user_emailc_registr_w_email_confirm_email_subject [{{site_name}}] Activate {{username}}
    English : [{{site_name}}] Activate {{username}}
    Fran?ais: [{{site_name}}] Activate {{username}}

    profile-builder-pro wppb_user_emailc_registration_with_admin_approval_email_content <h3>Welcome to {{site_name}}!</h3> <p>Your username is:{{username}} and password:{{password}}</p> <p>Before you can access your account, an administrator needs to approve it. You will be notified via email.</p>
    English : <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p><p>Before you can access your account, an administrator needs to approve it. You will be notified via email.</p>
    Fran?ais: <h3>Welcome to {{site_name}}!</h3><p>Your username is:{{username}} and password:{{password}}</p><p>Before you can access your account, an administrator needs to approve it. You will be notified via email.</p>

    wordpress-seo breadcrumbs-404crumb Error 404: Page not found
    English : Error 404: Page not found
    Fran?ais: Error 404: Page not found</i>

    Foregoing all the translations on Page 1 I also still have the same problem I initially reference. Meaning as soon as I translate things beyong page 3 of the sting translation tables, BOOM, everything reverts back to the original English version

    Thread Starter mdugre

    (@mdugre)

    By the way, got the Cozmoslabs plugin translation to work for standard fields BUT not for Headings BUT, that’s besides the point. If the fields show up in Polylang’s translation string tables, I want to be able to use them.

    I think Polylang is a great plugin and I have no wish to look at alternatives so, any assistance with this would be appreciated.

    Hi,

    Further to Dechtman’s question, this would be a great feature. Any plans on adding that functionality in the future?

    Thread Starter mdugre

    (@mdugre)

    Found the following code on Cozmoslabs site (https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/support-themes-plugins/shortcode-add-support-polylang-plugin/) for their plugin to be compatible with Polylang. It generates the [wppb_polylang_compat] shortcode.

    My problem is me not being a WordPress Expert nor a webdesign guru, I have less than 0 clue where to put that code.

    Can anyone help with this.

    Cheers,

    Marc

    /*
    * Shortcode to add support for PolyLang plugin in field titles, descriptions and labels.
    */

    add_shortcode(‘wppb_polylang_compat’, ‘wppb_polylang_compat’);
    function wppb_polylang_compat($atts,$content=null){
    return “<script type=’text/javascript’>
    jQuery(document).ready(function(){
    curr_lang = jQuery(‘html’)[0].lang;
    jQuery(‘.wppb-user-forms li label > span, .wppb-user-forms li .wppb-description-delimiter > span’).each(function(element){
    jQuery(this).hide();
    if ( jQuery(this).attr(‘lang’) == curr_lang ){
    jQuery(this).show();
    }
    })
    });
    </script>”;
    }

    Thread Starter mdugre

    (@mdugre)

    Only the slider BUT, solved the problem. I selected the clean string database, re-entered the French slider name, saved it and it worked.

    Thanks for the assist Chrystl

    Thread Starter mdugre

    (@mdugre)

    Also, just noticed that when I save my string translations, the French slider name reverts back to homepage-slider

    Thread Starter mdugre

    (@mdugre)

    Only reference to sliders I have in string translation is the following witch is set with the proper Enlish and French slider name

    Customizr Front page slider name homepage-slider
    English: homepage slider
    Fran?ais: pageaccueil slider

    No joy ??

    Thread Starter mdugre

    (@mdugre)

    Hello Chrystl,

    Did that. Works for every page except my French home page. Keeps displaying the English version of my slider.

    If you visit my site, https://www.datatelcom.com, you’ll see what I mean.

    FYI,
    – I used the appearance/customise/Content: Front page to set the slider on the home page (HomePage-Slider).
    – Home page has no slider selected.
    – Switch to French page (Accueil), English slider (HomePsge-Slider) shows up
    – Went to Accueil page and set slider to PageAccueil-Slider (French version), no joy. HomePage-Slider english version is still coming up

    At this point I’m at a loss as to what I’m doing wrong.

    Thread Starter mdugre

    (@mdugre)

    Hello Chouby,

    Thank-you for the suggestion however, so far, it looks like the problem was between the chair and the keyboard.

    I’ve uninstalled Polylang and reinstalled it. After doing that, I ended up with only 2 pages of string translations. I’m now redoing things and will let you know what the results are.

    Hopefully, everything will be OK now.

    Cheers,

    Marc

    Thread Starter mdugre

    (@mdugre)

    Ah, OK re: broken Link. Thanks for pointing it out. Took it directly from Polylang’s string translation pages. Wouldn’t surprise me if there were a few like that link

    Re: scripts, from your example, I can tell you I have none on my site.

    Thread Starter mdugre

    (@mdugre)

    OK this may sound like a dumb question but, since I’m FAR FROM BEING a guru when it comes to this and to avoid any mistake here, by HTML, I take it you mean all strings containing any kind of HTML formatting such as the below, correct?

    <h1><img class=”alignleft size-full wp-image-845″ src=”https://www.datatelcom.com/wp-content/uploads/2014/11/TreeView128.gif&#8221; alt=”TreeView128″ width=”200″ height=”200″ /></h1><h1></h1><h1></h1><h1><span style=”color: #000000;”>Member Options</span></h1>

    And by script, you mean strings such as this one, right?

    %%title%% %%page%% %%sep%% %%sitename%%

    Please confirm.

    Cheers,

    Marc

    Thread Starter mdugre

    (@mdugre)

    I think I need to uninstall Polylang and reinstall it to be honest d4z_c0nf.

    Right now, I have 5 pages of string translations. Everything works fine when I translate strings in the 1st 3 pages BUT, as soon as I go to the 4th page and save the changes. BOOM, all translations are lost and everything reverted back to defaults.

    Could also be due to an incompatibility with other plug-ins I’m using such as Visual Form Builder, Ultimate Product Catalog or Profile Builder Hobbyist mind you.

    Something I need to look into. IN the mean time, I used a manual method to solve that problem

    Thread Starter mdugre

    (@mdugre)

    Thank-you for the reply d4z_c0nf. I actually tried that numerous times and it didn’t work. That’s why I reverted back from Customizr 3.3.23 to version 3.3.20 which works fine

    As far as the theme being compatible with Polylang, I have to start a new thread on this as, when I reach a certain number of pages in the string translations, it keeps loosing them for whatever reason.

    Cheers,

    Marc

Viewing 15 replies - 16 through 30 (of 54 total)