Okay
  Public Ticket #2709078
Translation Shop
Closed

Comments

  • alldayboutique started the conversation

    I am having an inssue with translating a few fields:

    Needs translation, but can not find where to translate:

    Showing 1–9 of 14 results

    Default Sorting: Sort by

    No products in the cart.

    Could you please help.

    Thanks


  •  869
    Neuron replied

    Hi,

    Can you please provide me with your wp-admin, so I can translate them for you directly on the theme files, just tell me how do you need them to be translated to?

    Feel free to ask for anything you need.

    Kind Regards


  •   alldayboutique replied privately
  • alldayboutique replied

    Any update on the issue?


    I have noticed the following: If the theme file for woocommerce/loop/result-count.php is updated with the current template from woocommerce (https://github.com/woocommerce/woocommerce/blob/release/5.0/templates/loop/result-count.php) The 

    Showing 1–9 of 14 results is translated correctly into german. (Not sure whether this workaround is the best solution? how would you advise?)


    NEXT

    The issue with the Sorting order persists. How can I translate this?


    I have translated the po File of your theme, but it doesnt solve these two issues.

  •  869
    Neuron replied

    Hi,

    Sorry for the late reply,

    There's an easier way to translate them, so please go and download the following plugin - "Say What?", and then you can translate them as in the attached screenshot.

    So those are the Original Strings that you have to change:

    • Default sorting
    • Sort by popularity
    • Sort by average rating
    • Sort by newness
    • Sort by price: low to high
    • Sort by price: high to low

    And all of those strings will change when you use the "amartha" text-domain, as I've done in the attached screenshot.

    https://prnt.sc/10d1g9r

    The last one, Showing all % results, you can change it with the following string, but you don't have to change the "%d", because it will show the counted results.

    • Showing all %d results

    Feel free to ask for anything you need.

    Kind Regards


  • alldayboutique replied

    Hi,

    I have already translated the amartha.pot - why are these strings not included in the .pot?

    I WAS ABLE TO RESOLVE THE ISSUE WITH THE SHOW RESULTS:

    What I did was use Poedit to extract all strings from the theme!

    your .POT FILE is missing these STRINGS:

    #. translators: %d: total results
    #: woocommerce/loop/result-count.php:29
    #, php-format
    msgid "Showing the single result"
    msgid_plural "Showing all %d results"

    #. translators: 1: first result 2: last result 3: total results
    #: woocommerce/loop/result-count.php:34
    #, php-format
    msgctxt "with first and last result"
    msgid "Showing the single result"
    msgid_plural "Showing %1$d–%2$d of %3$d results"

    THE ISSUE FOR THE SORT BY can not be resolved.

    Even though it shows correctly on the main /shop page, on all other pages where I insert the Product/posts the sort by is always in English and can not be translated!

    https://www.alldayboutique.at/shop-2/shop-wide/shop-wide-archive/

    Thanks!

  • alldayboutique replied

    THE ISSUE FOR THE SORT BY can not be resolved.

    SEE PREVIOUS COMMENT

  •  869
    Neuron replied

    Hi,

    Can you please tell me how do you want to change them to,

    as an example -  Default Sorting - ( --- )

    So you just tell me how do you want those strings to be, and I can change them.

    Feel free to ask for anything you need.

    Kind Regards


  • alldayboutique replied

    Please change to:

    Default sorting - Standardsortierung

    sort by popularity - Nach Beliebtheit sortieren

    sort by average rating - Sortieren nach durchschnittlicher Bewertung

    sort by newness - Nach Neuheit sortieren

    sort by price: low to high - Sortieren nach Preis: aufsteigend 

    sort by price: high to low - Sortieren nach Preis: absteigend 


    Could you please tell me where you were able to change this?

    Thanks!

  •  869
    Neuron replied

    Hi,

    I've checked your website and saw that you've managed to translate them, or I'm wrong?

    - https://prnt.sc/10dypum

    Feel free to ask for anything you need.

    Kind Regards


  •  869
    Neuron replied

    Hi,

    I am very sorry for the late reply, we were not working on the weekend.

    I've changed them directly on the theme code, so can you please take a look at it now.

    Feel free to ask for anything you need.

    Kind Regards


  • alldayboutique replied

    Hi,

    Unfortunetly it is still the same - no change.

    https://www.alldayboutique.at/shop-2/shop-boxed/shop-boxed-sidebar/


  • alldayboutique replied

    Still awaiting a solution please:

    https://www.alldayboutique.at/shop-2/shop-boxed/shop-boxed-sidebar/

    Still showing default sorting no change in the wording/language.
    And also the button at the bottom reads 'Show more' but should be in German 'Mehr anzeigen'.

    Please help.

  •   Neuron replied privately