• Resolved dinyus

    (@dinyus)


    Hi,

    I just started using the Wishlist plugin on my page, and I really love it, but a few words won’t translate to Hungarian and stay English. I’ve already uploaded a .PO and .MO file done with Poedit, where I translated those expresssions, but it didn’t help. I also installed Loco Translate, where I checked the plugins and there is a 100% Hungarian translation, with all the expressions translated – and yet it doesn’t work…
    I found this topic a few times, but the answer always was that you can’t recreate this problem. ?? Can you please help me?

    Here’s a screnshot: https://www.dropbox.com/s/akoyrluswvgo0de/wishlist_error.jpg?dl=0

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Could you please check if your theme overrides wishlist.php or wishlist-view.php templates inside its folder (or /woocommerce subpath)?
    In this case, could you please try to temporarily rename them to wishlist.php.bak and wishlist-view.php.bak respectively to check if missing translation depends for any reason on those templates?

    Please, let me know

    Thread Starter dinyus

    (@dinyus)

    Sorry, I’m not too good at WP yet – how can I check if it overrides it? I found both files with file manager in the plugins/yith-woocommerce-wishlist folder.
    Thanks!

    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    You should search for those files, inside your theme folder:
    wp-content/themes/<your theme or child folder> or wp-content/themes/<your theme or child folder>/woocommerce

    Thread Starter dinyus

    (@dinyus)

    Hi,

    I checked, and there aren’t php files called like this in my theme’s folder (I even searched for the word “wishlist” in my whole folder and it only appears in the plugin’s folder)

    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Could you please do just one last theme-related test?
    Could you please try to activate a default Twenty theme and check if translation are correctly applied then?

    Please, let me know

    Thread Starter dinyus

    (@dinyus)

    Hi, I’m a bit afraid to do that, I don’t want any of my pages, templates, codes, etc. to possibly get ruined, I have too much work in it (I know there’s backup, I also have a plugin for that, but what if it doesn’t work perfectly?).
    Isn’t there any other way to check this…?
    Thanks!

    Plugin Author YITHEMES

    (@yithemes)

    I totally understand your point
    I wouldn’t reccomend either to proceed, if you don’t have a staging site where you can test without the fear of losing part of your work

    Anyway, unfortunately it is quite difficult for me to understand the issue
    If I test on my local installation, with a translation file created by us, I can see that those strings are correctly translatable

    So I must assume that the problem is related to your translation process, or to the text domain in your templates
    Unfortunately you seems to exclude both of these possible source of error, so I’m afraid we’re at a dead end

    Since there is little I can do to debug the error, maybe I could suggest something that normally I wouldn’t, just for the sake of solving the problem for you
    You could think to override wishlist-view.php template in your theme files (copy it from wp-content/plugins/yith-woocommerce-wishlist/templates to wp-content/themes/<your theme or child directory>/woocommerce)
    Then you can edit it and replace the strings that won’t translate with the localized version for your site

    As I said, this is something that I wouldn’t reccomend, but could be a quick workaround to keep your project running, if this is what you want

    Thread Starter dinyus

    (@dinyus)

    This works, thanks for all the help.

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Some things don’t translate’ is closed to new replies.