Some strings are not translated anymore…

This topic has 28 replies, 3 voices, and was last updated 1 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: MJJONE
    MJJONE
    Participant
    August 22, 2024 at 13:36

    Hello,

    there is a lot of strings where the translations has gone away !

    Check out the screenshots.

    I don’t get it because all the strings are well translated using loco translate.

    Thx.
    Best
    Richard

    Files is visible for topic creator and
    support staff only.
    27 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2024 at 14:55

    Hello, MJJONE,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    August 22, 2024 at 15:22

    Hi,

    ok you have it.

    Best
    Richard

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 22, 2024 at 15:29

    Hello, MJJONE,

    Could you provide FTP access?

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    August 22, 2024 at 15:34

    Yes here you have it.

    Best
    Richard

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 23, 2024 at 12:47

    Greetings, MJJONE,

    Thank you for providing us with the necessary access. We have reviewed everything but have not yet identified the cause of the issue.

    Could you kindly update the XStore theme and the core plugin to their latest versions? Additionally, could you please update WooCommerce to the latest version and recheck the issue with the translations?

    We appreciate your assistance in resolving this matter.

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    August 23, 2024 at 13:06

    Hello,

    it’s updated with same issue 🙁

    Best
    Richard

    Avatar: MJJONE
    MJJONE
    Participant
    August 24, 2024 at 17:03

    Hello,

    any update regarding that bug ?

    Thx
    Best
    Richard

    Avatar: MJJONE
    MJJONE
    Participant
    August 27, 2024 at 19:26

    Hello ?

    What about that terrible bug ?

    Thx
    Best
    Richard

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 29, 2024 at 15:00

    Hello, MJJONE,

    We hope this message finds you well. We would like to inform you that we have made some updates. Kindly review them at your earliest convenience.

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    August 29, 2024 at 16:50

    Hello, I don’t understand…

    Where are the updates? I don’t get what you mean?

    Best
    Richard

    Avatar: MJJONE
    MJJONE
    Participant
    August 29, 2024 at 21:35

    Hello,

    i have see the updates thank you.

    What have you done to fix the issue ?

    Best
    Richard

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 30, 2024 at 16:57

    Hello, MJJONE,

    We hope this message finds you well. We are writing to inform you that we have uploaded the translated texts for the single product pages and the My Account section. Please take a moment to review the attached files at your earliest convenience.

    Should you encounter any issues with viewing the changes, we kindly ask you to clear your browser’s cache. This should resolve any display problems.

    Best Regards,
    8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: MJJONE
    MJJONE
    Participant
    August 30, 2024 at 18:19

    Hello

    i have seen the updates on the website thank you but what have you done to fix the issue ?

    Thx

    Best
    Richard

    #412268

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 2, 2024 at 10:24

    Hello, MJJONE,

    We hope this message finds you well. We are pleased to inform you that we have updated the translation files (POT) for both the theme and the core plugin. Following these updates, we have successfully synchronized the translations and clear caches.

    Additionally, we have implemented a new custom JavaScript for translation purposes (specifically for the ‘select option’).

    <script>document.addEventListener("DOMContentLoaded", function() {
        // Select the dropdown by its ID
        var selectElement = document.getElementById('pa_conditionnement');
        
        // Select the first option (index 0)
        var firstOption = selectElement.options[0];
        
        // Change the text of the first option
        firstOption.textContent = "Choisir une option";
    	});
    </script>

    We have also added new CSS to ensure proper display of icons next to the text on the ‘My Account’ page.

    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account a,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout a,
    li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--payment-methods a,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders a,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard a{
      font-size: 0;
    }
    
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account a::before,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout a::before,
    li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--payment-methods a::before,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders a::before,
    html[lang="fr-FR"] li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard a::before{
      font-size: 1.14rem;
    }
    html[lang="fr-FR"] a[href="#tab-additional_information"],
    html[lang="fr-FR"] a[href="#tab-reviews"],
    html[lang="fr-FR"]{
      font-size: 0;
    }
    

    Best Regards,

    The 8Theme Team

    Avatar: MJJONE
    MJJONE
    Participant
    September 2, 2024 at 14:05

    Hello, thx for the update but as i can see the JS is not really the solution because it is specific to the attribute value for the dropdown translation…

    You see can here https://www.coprima.fr/boutique/conditionnement-alimentaire/bouteilles-transparentes/bouteilles-transparentes-pour-jus-de-fruits-frais/ that the JS does not fix that attribute for the dropdown

    Why it is not working normally using the PO files ?

    Best
    Richard

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 3, 2024 at 15:05

    Hello, MJJONE,

    I hope this message finds you well. We are currently facing a technical challenge with the PO files, as the dropdown list is generated automatically by WooCommerce scripts. Consequently, any modifications can only be made through JavaScript.

    We have updated the text for the ‘select’ option for the ‘Contenance’ attribute (cl). Could you please provide us with a list of all attributes that will utilize the select type? This will enable us to make the necessary changes promptly.

    Thank you for your cooperation.

    Best regards,

    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    September 17, 2024 at 09:57

    Hello, i’m getting crazy with the translation for the theme switching between theme po file and xcore po files

    There is another strings where the translations is not applied !!!

    “Home” in breadcrumb is not translated
    The labels inside the SORTING DROPDOWN > the translations are not applied also…

    Totally crazy !

    Best
    Richard

    Files is visible for topic creator and
    support staff only.
    Avatar: MJJONE
    MJJONE
    Participant
    September 17, 2024 at 10:08

    The CHOOSE OPTION is not translated also in the quick add to cart on product page 🙁

    What’s going on ?

    Files is visible for topic creator and
    support staff only.
    Avatar: MJJONE
    MJJONE
    Participant
    September 21, 2024 at 09:09

    Hello, why no answer to this bug ?

    Best
    Richard

    Avatar: MJJONE
    MJJONE
    Participant
    September 23, 2024 at 14:21

    No more support ?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 26, 2024 at 16:18

    Hello, MJJONE,

    We hope this message finds you well. We would like to inform you that we have implemented some updates. Kindly review these changes at your earliest convenience. However, please ensure to clear your cache before doing so to see the updates effectively.

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    September 26, 2024 at 19:50

    Hello,

    nothing is fixed even the cache is cleared.

    I don’t get what’s going on with the translations but it’s insane at this point…

    Best
    Richard

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 28, 2024 at 12:16

    Hello, MJJONE,

    We kindly suggest that you clear your cache once again as, from our observations, the issues appear to have been resolved. Should you encounter any problems on specific pages, please provide the links in a private message for further assistance.

    Best Regards,

    8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: MJJONE
    MJJONE
    Participant
    September 28, 2024 at 12:23

    Hello,

    check attached file… as i already posted in my previous post :
    URL example :
    https://www.coprima.fr/boutique/conditionnement-alimentaire/bouteilles-transparentes/bouteilles-transparentes-pour-jus-de-fruits-frais/

    Now for the other it’s ok but can you explain how did you fixed the bug ?
    Thx
    Best
    Richard

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 1, 2024 at 13:46

    Hello, MJJONE,

    I hope this message finds you well. I am writing to inform you about the recent issue encountered on the shop page, which was caused by the automatic generation of content. To address this, we have implemented the following code:

    
    document.addEventListener("DOMContentLoaded", function() {
        var selectElement = document.querySelector('select[name="orderby"]');
        var translations = {
            "Default sorting": "Tri par défaut",
            "Sort by popularity": "Trier par popularité",
            "Sort by average rating": "Trier par note moyenne",
            "Sort by latest": "Trier par nouveauté",
            "Sort by price: low to high": "Trier par prix : du plus bas au plus élevé",
            "Sort by price: high to low": "Trier par prix : du plus élevé au plus bas"
        };
        for (var i = 0; i < selectElement.options.length; i++) {
            var option = selectElement.options[i];
            if (translations[option.textContent]) {
                option.textContent = translations[option.textContent];
            }
        }
    });
    

    Additionally, the issue on the single product page was due to a custom attribute created outside the general attribute system. This attribute did not appear in the general list of names. To resolve this, we have added it using the following code:

    
    document.addEventListener("DOMContentLoaded", function() {
        var ids = [
            'pa_type-dencre', 'pa_type-detiquettes', 'pa_type-de-ruban', 
            'pa_type-de-cartes-pvc', 'pa_textes-pre-etablis', 'pa_taille', 
            'pa_pack-imprimante', 'pa_orientation', 'pa_option-alarme-sonore', 
            'pa_matiere', 'pa_epaisseur-microns', 'pa_ecologique', 'pa_dimensions-mm', 
            'pa_dimensions-cm', 'pa_diametre-mm', 'pa_diametre-cm', 
            'pa_details-d-impression', 'pa_couleurs', 'pa_contenance-l', 
            'pa_contenance-kg', 'pa_contenance-cl', 'pa_conditionnement', 
            'pa_choix-signaletique', 'pa_ardoisine', 'pa_textes-pre-etablis', 'option-anti-reflet'
        ];
    
        ids.forEach(function(id) {
            var selectElement = document.getElementById(id);
            if (selectElement && selectElement.options.length > 0) {
                var firstOption = selectElement.options[0];
                firstOption.textContent = "Choisir une option";
            }
        });
    });
    

    Best Regards,
    8Theme’s Team

    Avatar: MJJONE
    MJJONE
    Participant
    October 1, 2024 at 19:12

    Hello
    thank you but it is not fixed – please check the screenshot in my previous post… on the product page the dropdown in the floating quick add to cart are not translated (choose an option)

    Also i don’t understand why the translations are not working normally from the .POT files ?
    As i understand you just fixed the problem with a work around but it’s not really fixed.

    I don’t get why it’s not really fixed ?

    Best
    Richard

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 2, 2024 at 15:05

    Hello, MJJONE,

    We hope this message finds you well. We are writing to inform you that we have added a translation for the dropdown in the floating quick add to cart feature.

    Unfortunately, the method of translation for the specified texts appears to be the only functioning one in your case. We have thoroughly reviewed both the theme and the plugin and found nothing that could potentially affect the translation process.

    Additionally, we have repeatedly checked the .POT files and confirmed that they are in order. Given this, the translations should be functioning correctly; however, they are not. We have also tried disabling third-party plugins, but this has not resolved the issue.

    Therefore, we recommend considering a change to a different translation plugin, such as WPML, to potentially resolve this issue.

    Thank you for your attention to this matter. Should you have any further questions or require assistance, please do not hesitate to contact us.

    Best Regards,
    The 8Theme Team

  • Viewing 28 results - 1 through 28 (of 28 total)

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

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