Translation and registration - by Boutik

This topic has 23 replies, 5 voices, and was last updated 8 years, 3 months ago ago by Eva Kemp

  • Avatar: Boutik
    Boutik
    Participant
    December 4, 2015 at 11:21

    HI

    Can you help me with this 3 points below:

    #1_
    One more time, when i make the translation in the file: /wp-content/themes/royal/languages/pt_PT.po the text online doesn´t change. I send you below the print of the text online in this page: http://178.62.40.244/blog
    and a print of the translation I have made.

    PRINTS of the text online:
    http://images.devs-on.net/Image/DKEQVECwSNNhbQIK-BlogNutribioSto.png

    PRINT of the translation I have made in the poedit file:
    http://images.devs-on.net/Image/ef5yOCVexppbIPM2-Region.png

    Can you please explain me, why when i translate the text in this poedit file this only work for some words.

    #2_
    What i need to do to have the exactly same option you have in your demo for sign i and register: https://www.8theme.com/demo/royal/my-account/

    #3
    What i need to do to have also this form in the top of the site like you have in the following print:
    http://images.devs-on.net/Image/QITNE4lf0eDjV06Y-MyAccountRoyalG.png

    Thanks for your help.
    Regards

    22 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    December 4, 2015 at 14:17

    Hello,

    1. I’ve updated translation files.
    Please clear browser cache and check buttons translation now.

    2. Go to Woocommerce > Settings > Accounts > tick “Enable registration on the “My Account” page”.

    3. Read here how to create registration page:
    https://www.8theme.com/demo/docs/royal/#!/4_registration_page

    Regards,
    Eva Kemp.

    Avatar: Boutik
    Boutik
    Participant
    December 29, 2015 at 19:21

    Hi,

    Can you please take a look at the 3 points below:

    #1 TRANSLATION
    The same problem happen with the texts below, I make the translation but they don´t updated.
    Why?
    If you tell me, i can make this without to disturb you.

    WORDS:
    http://178.62.40.244/informativo/os-10-beneficios-do-gengibre.html#more-16472
    (previous – RELATED POSTS – Comment)

    http://178.62.40.244/categoria-produto/alimentacao/snacks-alimentacao
    (NO PRODUCTS WERE FOUND)

    http://178.62.40.244/ (SIGN IN – LOGIN FORM – REGISTER – REGISTER FORM – ENTER YOUR USERNAME – Enter your password * – Re-enter your password – REGISTER)

    http://178.62.40.244/registro (Create Account – Enter your username * – Enter your E-mail address * – Enter your password * – Re-enter your password *)

    #2 2CAPTCHA
    How can remove captcha from the REGISTER FORM in the top bar (http://images.devs-on.net/Image/8ui46RUxaW1heSSo-RegistroNutribi.png) and from this page: http://178.62.40.244/registro

    #3 REMOVE: Comments are closed
    how can i remove the text:Comments are closed from the bottom of my posts in the blogs..
    ex: http://178.62.40.244/receitas/tomate-recheado.html#more-15129

    You already have all my datas to FTP and Backoffice.

    Thanks for your help.
    Regards.

    Avatar: Eva
    Eva Kemp
    Support staff
    December 30, 2015 at 12:52

    Hello,

    1. How to update .po file you can find here:
    http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./ (“Updating a .po (and .mo) file” paragraph).

    2. You need edit the file wp-content/themes/royal/framework/theme-functions.php and remove or comment the code in line 1306:

    $captcha_instance = new ReallySimpleCaptcha();
    $captcha_instance->bg = et_get_captcha_color();
    $word = $captcha_instance->generate_random_word();
    $prefix = mt_rand();
    $img_name = $captcha_instance->generate_image( $prefix, $word );
    $captcha_img = ETHEME_CODE_URL.'/inc/really-simple-captcha/tmp/'.$img_name;

    and comment this code in line 1333:

    <div class="captcha-block">
    <img src="<?php echo $captcha_img; ?>">
    <input type="text" name="captcha-word" class="captcha-input">
    <input type="hidden" name="captcha-prefix" value="<?php echo $prefix; ?>">
    </div>

    and comment this code in line 1477:

    $captcha_instance = new ReallySimpleCaptcha();
    if(!$captcha_instance->check( $_REQUEST['captcha-prefix'], $_REQUEST['captcha-word'] )) {
    $return['status'] = 'error';
    $return['msg'] = __('The security code you entered did not match. Please try again.', ETHEME_DOMAIN);
    echo json_encode($return);
    die();

    3. That text can be removed in the file wp-content/themes/royal/comments.php in line 39.

    Regards,
    Eva Kemp.

    Avatar: Boutik
    Boutik
    Participant
    January 6, 2016 at 18:26

    Hi,

    Thanks a lot.

    About the point 1, translation (How to update .po file) i read the link you send me, but i don´t know what POT file I need to choose to update, I only have .po and .mo files: http://images.devs-on.net/Image/YcPUMydy5HOyoMRM-Region.png

    “To update your .po file, again navigate to Catalog, but this time choose ‘Update from POT file’, and then choose the .pot file from which you would like to get updated contents”

    About point 2, that work, but for that i can´t delete or comment the line 1477, like you suggest.

    One more time thanks.
    I am waiting your feedback to try understant how update the translation.

    Regards

    Avatar: Eva
    Eva Kemp
    Support staff
    January 7, 2016 at 15:43

    Hello,

    1. You can rename default.po file to default.pot and update your current translation .po file.

    2. Please clarify what a problem is with deleting or commenting the code.

    Regards,
    Eva Kemp.

    Avatar: mediavision
    mediavision
    Participant
    January 7, 2016 at 18:43

    I have difficulty in translating some elements of the purchase page:
    Specifically entries:
    Discount code
    Apply Discount
    cart Subtotal
    Shipping and Handling
    Total Order

    At the same time I can not translate the voice Shipping and Handling page Checkout

    I already made the translation of the theme using Poedit but these items do not seem to have been translated.

    Thank you

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 8, 2016 at 08:25

    Hello @mediavision,

    Please provide us with FTP and WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: mediavision
    mediavision
    Participant
    January 8, 2016 at 09:16

    You can find the data in the private content section 😉

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 8, 2016 at 09:51

    Hello @mediavision,

    Please update the theme to the latest version.
    Before update delete “woocommerce” folder in the directory wp-content/themes/royal/ and it’ll be reuploaded from a new theme package.
    Also update all required plugins https://www.8theme.com/download-plugins/ .

    Don’t forget to create back up of your files and database before starting update process!


    (it’s for Legenda theme but the process is the same).

    After that check translation.

    Best regards,
    Jack Richardson.

    Avatar: mediavision
    mediavision
    Participant
    January 8, 2016 at 16:43

    I’m sorry Jack! Unfortunately, after all that you said I do not see any change. How can I fix it?

    Avatar: mediavision
    mediavision
    Participant
    January 8, 2016 at 17:27

    I correct myself. The problem is partially solved. Meanwhile it disappeared button proceed with checkout and was not resolved yet the translation of the discount code

    Avatar: Eva
    Eva Kemp
    Support staff
    January 8, 2016 at 18:13

    Hello @mediavision,

    Please check the translation now.
    “Proceed to checkout” button isn’t shown because you added this code in Theme Options > Custom CSS > Global Custom CSS:

    .woocommerce-cart .wc-proceed-to-checkout{
    display: none;
    }

    Remove it and check Cart page.

    Regards,
    Eva Kemp.

    Avatar: Boutik
    Boutik
    Participant
    January 11, 2016 at 17:58

    Hi,

    When i try the change you suggest to remove captcha (post: #106316) i have this error: http://images.devs-on.net/Image/Rh8owkUaLKKxRGKJ-Region.png.

    Can you please take a look?
    You already have my FTP and BO credentials.

    Thanks
    Regards.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 11, 2016 at 18:20

    Hello @Boutik,

    I’ve commented the strings in the file wp-content/themes/royal/framework/theme-functions.php.
    Now captcha is removed on Registration page. Clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: Boutik
    Boutik
    Participant
    January 12, 2016 at 19:00

    Hi Kemp,

    #1 CAPTCHA
    Thanks for the great job, I clear the browser and the captcha is removed.
    How can have the same in the contact page: http://178.62.40.244/contactos.

    #2 TRANSLATION
    One more time, I try to make the translation of some words in the theme like:

    – NO PRODUCTS WERE FOUND
    – NEXT (in the Blog)
    – Username *

    To update the translation, I will try to explain what I understand from the post you send me: http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./
    1. I make the translation in my file pt_PT.po (/var/www/html/wp-content/themes/royal/languages)
    2. After this, I copy this file im my computer and change the name to pt_PT.pot
    3. After that, I go to my FTP pt_PT.po navigate to Catalog,and choose ‘Update from POT file’, I save in my computer which you would like to get updated contents.
    this is correct?

    Thanks.
    Regards

    Avatar: Boutik
    Boutik
    Participant
    January 12, 2016 at 19:36

    Hi,

    I am testing the registration and shop and i experience some troubles:

    #1 PURCHASE
    Please try to make a purchase in this page http://178.62.40.244/produto/voucher-bioteste (Free) and experience the problem i have in this moment, more specifically:

    after finalizing the purchase, the page go to an endless reload without stopping. I have to refresh the page to continue browsing. However a few seconds after the purchase validation I receive an email confirmation.

    How can I solve this problem?

    #2 REGISTRATION
    When i make a registration i experience the same problem with the shop, after the validation the page go to an endless reload without stopping. I have to refresh the page to continue browsing. However a few seconds after the registration validation I receive an email confirmation.

    Can you please help me with that?

    thanks.
    regards.

    Avatar: Eva
    Eva Kemp
    Support staff
    January 13, 2016 at 12:38

    Hello @Boutik,

    1. I’ve edited shortcodes.php and theme-functions.php files to remove captcha for contact form. Please check it now.

    2. You can translate “No products were found” in the file wp-content/themes/royal/woocommerce/loop/no-products-found.php in line 16.

    3. Please check if purchase process is going the same way with default WordPress theme and let us know the result.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Boutik
    Boutik
    Participant
    January 13, 2016 at 12:57

    Hi,

    1&2.
    Thanks for the chabges in contact page and indications to translate “No products were found”.

    3. I change to default wordpress and the problem persists.
    How can we solve that?

    Thanks.
    Regards.

    Avatar: Eva
    Eva Kemp
    Support staff
    January 13, 2016 at 15:15

    Hello @Boutik,

    3. If the problem persists with default WordPress theme then it’s not related to our theme.
    Seems there are some issues with your server configuration.
    Try to increase memory_limit value (ask your hosting provider support to do this).

    Regards,
    Eva Kemp.

  • 1 2
    Viewing 20 results - 1 through 20 (of 23 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.