ResolvedCategory button translation

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #34590
    ADP
    Participant

    Hello,

    A small bug which I noticed today regarding translations: in the same category page I have the “Select options” button of one product untranslated because the string is located in the Lafka Plugin and the other one is translated because it’s based in the WooCommerce plugin. See inclosed screenshots:

    https://prnt.sc/HM5EPk4qpZUP
    https://prnt.sc/fukGEZceXMZs
    https://prnt.sc/uAycMuA1jv_r

    Best regards!

    #34596
    Althemist
    Keymaster

    Hi ADP,

    You’d just need to translate the string in the plugin too.

    #34737
    ADP
    Participant

    Hi!

    I find this situation very peculiar. Was it necessary to have the same string in 2 files? Oh, I found in another category page the same string untranslated after I’ve translated it in the first 2 locations. (ex: https://fastfoodsinaia.ro/c/pizza/ or https://prnt.sc/K9p2JiBxWgvK ). So, let me know please all the files that contains the string “Select options”. Maybe you want to fix this in a future update.

    Regards!

    #34738
    Althemist
    Keymaster

    Hi ADP,

    I understand it may look weird, but there is a solid reason behind this.

    The string comes from 3 different locations. The first and most obvious is the WooCommerce plugin. It will be automatically translated when you switch your WordPress installation to a language different than English.

    The same string can also be found in the theme and the theme plugin (Lafka plugin). You’d need to translate theme manually.

    We know it’s not optimal, but it’s because of the strict performance and security rules of ThemeForest for themes and plugins.

    #34745
    ADP
    Participant

    I understand. The theme doesn’t contains the string. Screenshot: https://prnt.sc/BryjKIgi00Fe

    So, what’s the 3rd location, please?

    #34748
    Althemist
    Keymaster

    My mistake, sorry. It’s only in the plugin. The theme is using the WooCommerce string.

    #34763
    ADP
    Participant

    Hi!

    The issue is not solved then. The questions remains. Please.

    #34767
    Althemist
    Keymaster

    Hi ADP,

    I can see your products have additional class “wcpa_has_options” which is not part of the theme. Do you have a third-party product addons plugin?

    #34799
    ADP
    Participant

    Hi!

    Yes, it’s “WooCommerce Custom Product Addons”. You hit it with great accuracy. This plugin is the problem. After disabling it, the string is now translated everywhere. I guess I’m in your debt. Thank you for your great support, I’ll be more careful in the future with the tickets!

    Best regards!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register