• Resolved dracoghost1988

    (@dracoghost1988)


    I need to translate to spanish some texts:

    1.- Inside settings account on the tabs “billing address” and “shipping address”. The titles of the forms aren’t translated

    For Example: “Billing” or “Shipping”

    Where i can translate it?

    2.-Inside settings tabs on the “Delete account”, there is a text inside a pg-alert-info, this is the code <?php echo wp_kses_post($dbhandler->get_global_option_value(‘pm_account_deletion_alert_text’, esc_html__(‘Are you sure you want to delete your account? This will erase all of your account data from the site. To delete your account enter your password below’,’profilegrid-user-profiles-groups-and-communities’)));?>

    Where i can translate it?

    3.- In the login page, the error text for validation aren’t translated, that errors are printed with the $pm_error variable. Example: ‘You entered incorrect password. Please try again or click on “Forgot Password”’

    Where i can translate it?

    4.- In the profile complete bar, there is a text “Profile is?100%?Complete”

    Where i can translate it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @dracoghost1988,

    You can change the text using the “Loco Translate” plugin. ProfileGrid has a POT file that includes all English text from the plugin for translation.

    For query 1, you will need to add the translation for these strings in the “WooCommerce Integration” extension.

    For queries 2 and 3, you can translate these in the main plugin.

    Regarding query 4, we have identified that this string is currently missing for translation. We have taken note of this issue and forwarded it to our team for a fix in future releases.

    Please let us know if you have any further questions.

    Thread Starter dracoghost1988

    (@dracoghost1988)

    @profilegrid0, thanks for the repply, but i don’t have success to solve any of the translations.

    1.- I search those texts on the “ProfileGrid WooCommerce Integration” in Loco Translate / Plugins but I couldn’t find them, searching on the code, i found this

    Path: ecommerce-user-profiles-by-profilegrid/public/class-profilegrid-woocommerce-public.php

    $this->pg_edit_woocommerce_address('billing'); 
    function pg_edit_woocommerce_address( $address ) 
    $load_address = $address; 
    <h3><?php echo apply_filters( 'woocommerce_my_account_edit_address_title', $load_address ); ?></h3>

    2.- In this case, i found the traduction in Loco Translate / Plugins / ProfileGrid, i put the text to do the translation, but for some reason that traduction is not reflected in the page.

    Path: wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/partials/themes/default/delete-account-tpl.php

    <?php echo wp_kses_post($dbhandler->get_global_option_value('pm_account_deletion_alert_text', esc_html__('Are you sure you want to delete your account? This will erase all of your account data from the site. To delete your account enter your password below','profilegrid-user-profiles-groups-and-communities')));?>

    3.- In this case, i searched the traduction in Loco Translate / Plugins / ProfileGrid, but i couldn’t found it.

    Path: wp-content/plugins/profilegrid-user-profiles-groups-and-communities/public/partials/themes/default/forget-password-form-tpl.php

    <div class="pm-login-box-error pm-dbfl pm-pad10 pm-border-bt"><?php echo wp_kses_post($pm_error);?></div>

    Thanks in advance

    Plugin Author ProfileGrid Support

    (@profilegrid0)

    Hello @dracoghost1988,

    More information will be needed from your side to understand why the problem occurs and what can be a viable solution.

    Please reach out to us directly using this form.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ProfileGrid Multiple Texts to Translate’ is closed to new replies.