Translation – Multilingual & Minor Style Issues

This topic has 15 replies, 3 voices, and was last updated 1 years, 11 months ago ago by Olga Barlow

  • Avatar: Ahmed
    Ahmed
    Participant
    May 4, 2022 at 22:00

    Hi,

    I’ve been experimenting with your theme for a while and I’m very satisfied with almost everything. I just need your help with a few issues.

    1. Translation – Multilingual

    1.1 Mobile Panel

    Everything seems to be translatable except the mobile panel. Could we have multiple mobile panels in the near future? It doesn’t work even when hiding the texts, deselecting the More Toggle element, and only selecting pages that have other versions in the other language.

    1.2 Search Results Page

    When there are no search results, switching between languages doesn’t work because the language code doesn’t appear in the URL. Is there any way I could force this archive page to use the language code in the URL to be displayed correctly?

    1.3 One String – Different Contexts

    I wish to display the “You may also like…” text in the My Account page in other words that would be different from the ones in the single product page. I found out that it’s only one string. Any ideas?

    2. Minor Style Issues

    2.1 Products Layout

    I used the code mentioned here: https://www.8theme.com/topic/problem-with-products-layout-in-shop-page/ but it doesn’t work with the products displayed in the My Account page. I would like to achieve the same look.

    2.2 Colors

    Could you please give me the full code mentioned here: https://www.8theme.com/topic/end-user-notification-color-change-did-not-succeed/ to customize all green, blue, and red colors?

    Thank you.

    14 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 5, 2022 at 17:36

    Hello,

    Thank you for using our theme!
    1.1. Could you, please, provide us with WP Dashboard and FTP access to your site to check the mentioned issues and help you?
    1.2 Did you translate products? Could you, please, provide us with link to your shop page and tell us what keywords you use for search to check the problem?

    1.3 Do you mean that you want to have different translations on the My account page and on the single product page for this text?

    2.1 Provide us with WP Dashboard access to your site, please, to allow to check that section and help you.

    2.2 You can use this custom CSS

    .dokan-alert, .dokan-alert-success, .dokan-error, .dokan-info, .mc4wp-alert, .woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-order-overview-wrapper~p, .et-notify[data-type=success] {
        background-color: #13B966;
    }
    .dokan-alert-warning, .dokan-error, .mc4wp-error, .woocommerce-error {
        background-color: #D7335C;
    }

    Regards

    Avatar: Ahmed
    Ahmed
    Participant
    May 6, 2022 at 06:29

    Thank you for your help.

    1.1. Could you, please, provide us with WP Dashboard and FTP access to your site to check the mentioned issues and help you?

    Please see the private area. I currently don’t have a functional website. I’m just testing things and planning. I could translate the mobile panel using TranslatePress because of the way this plugin works but the buttons aren’t translatable except the home button.

    1.2 Did you translate products? Could you, please, provide us with link to your shop page and tell us what keywords you use for search to check the problem?

    Please disregard this issue. I tested it on a fresh installation and it works fine now even with hiding the default language URL.

    1.3 Do you mean that you want to have different translations on the My account page and on the single product page for this text?

    Yes, if possible to have two strings or to define contexts, or any workaround.

    2.1 Provide us with WP Dashboard access to your site, please, to allow to check that section and help you.

    Please see private area and have a look at this:
    Products Style

    2.2 You can use this custom CSS

    Thank you!

    Please contact administrator
    for this information.
    Avatar: Ahmed
    Ahmed
    Participant
    May 6, 2022 at 06:30
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2022 at 09:56

    Hello,

    What is the WP Dashboard access? I see that you provided only FTP. But even FTP access is not correct because it goes to an empty directory
    So, Provide us with a link to your WP Dashboard, username and password. Also, provide FTP to your WP installation, not to empty directory.

    Regards

    Please contact administrator
    for this information.
    Avatar: Ahmed
    Ahmed
    Participant
    May 6, 2022 at 18:00

    Sorry about that! Please see the private area. Thank you.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 7, 2022 at 07:47

    Hello,

    Our developers team will be back at work after the weekend. Please be patient.

    Regards

    Avatar: Ahmed
    Ahmed
    Participant
    May 7, 2022 at 10:12

    Have a nice weekend!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 9, 2022 at 16:28

    Hello,

    I see that you installed Polylang plugin to create multilanguage site but if you want to use Polylang for the Products you need to install an additional plugin https://polylang.pro/downloads/polylang-for-woocommerce/
    Could you, please, finish the installation of all the required plugins if you plan WooCommerce multilanguage site? Reply back once you install that and we’ll proceed with the issues fixing.

    Regards

    Avatar: Ahmed
    Ahmed
    Participant
    May 9, 2022 at 19:40

    Not exactly. I’m just currently testing things to see what works and what doesn’t. I needed to do this before committing. I switched to Polylang to help you troubleshoot the mobile panel issue. I haven’t decided which plugin I will be using.

    My issue is mainly about translating the mobile panel. It would be helpful if we had multiple mobile panels. Anyway, it’s fine if you’re not able to help me with the translation issues.

    Translation aside, please help me with achieving the same aligned look to the products that appear in the My Account page. Thank you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 9, 2022 at 23:41

    Hello,

    1) Point is that the translation of the mobile panel depends on the translation plugin that you will use. So, it’s important for you to decide which plugin you want to use and then start your translation. I would suggest WPML plugin. It’s most powerful for the multilanguage site. Anyway, choose the plugin depending on your needs.

    2) Check the products on the My account page now.

    Regards

    Avatar: Ahmed
    Ahmed
    Participant
    May 10, 2022 at 01:27

    Thank you for your help.

    I understand. WPML is on my radar but I have some concerns about its potential effect on the database performance. Also, I like to use Poedit or Loco Translate to translate strings but the button texts don’t show up.

    I’ll have to install WordPress several times for testing purposes! Please tell me how to replicate that aligned look. I couldn’t notice any change to the above mentioned code. I only noticed that you changed the Product Title Limit By to Lines and the Product Title Lines Limit to 1 but changing it back has no effect.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 10, 2022 at 13:49

    Hello,

    1) You can use Poedit or Loco Translate to translate strings but it’s for the 1 language only. You can’t create a multilanguage site using only these tools. That’s why to translate a mobile panel to another language you need to decide which multilanguage plugin you will use.

    2) I have also added the below code to Custom CSS to align buttons because some products have the rating, other do not, some products have categories, other do not and it causes the different height of the product information

    .content-product .product-details>.product-title {
         margin-top: 24px
    }
    .content-product .product-details .products-page-cats + .product-title {
        margin-top: 0
    }
    .content-product .product-title + .price {
        margin-top: 25px
    }

    Regards

    Avatar: Ahmed
    Ahmed
    Participant
    May 10, 2022 at 19:03

    I’ll see how it goes. Thank you for helping me.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 11, 2022 at 09:59

    Hello,

    You are welcome.

    Regards

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

The issue related to '‘Translation – Multilingual & Minor Style Issues’' has been successfully resolved, and the topic is now closed for further responses

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