0.00  View Cart

Support Easy Booking: Pricing [Resolved] Translations pricing tiers and "close" button

This topic contains 4 replies, has 2 voices, and was last updated by  Christoph 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5724

    Christoph
    Participant

    Hi,

    I want to translate some strings of easy booking.

    1. :

    <span class=”ebdd_discount”>14-21 nights : <span class=”woocommerce-Price-amount amount”>22,00 <span class=”woocommerce-Price-currencySymbol”>€</span></span>/ Nacht</span>
    <span class=”ebdd_discount”>22 nights+ : <span class=”woocommerce-Price-amount amount”>20,00 <span class=”woocommerce-Price-currencySymbol”>€</span></span>/ Nacht</span>

    (“nights” and “nights+”)

    2.: the other string I am looking for is the close-Button in the calendar pop-up.

    Where do I find the strings? I can’t find it in the code.

    I am using Loco translate to manage my translations, but unfortunately it’s not there – maybe that can be updated, so I can translate it there?

    Thanks and best regards,

    Christoph

     

    #5726

    Ashanna
    Plugin's author

    Hello,

    Please follow the instructions in the documentation to update the translation files of the “Pricing” extension (Update or create translation files > Update an existing file using Poedit).

    Concerning the word “Close”, you’ll find the instructions in the same page, under “Calendar translation”.

    Regards,
    Natasha

    #5769

    Christoph
    Participant

    Hi Natasha,

    sorry to bother again. I managed to translate the “close”-Button.

    Unfortunately, I can’t manage to translate the pricing tiers – I followed the instructions, but for this specific string, it is not possible for me to get my translation working.

    I’ve put “easy-booking-duration-discounts-de_DE.po” in the folder wp-content/languages/plugins and compiled it with Loco translate (*.mo file is generated).

    Here you can see the result: https://www.campaz.de/shop/campaz-airtop-dachzelt-mieten/

    This is the PO-File, I can’t find an error and it is compiling just fine:

    msgid “”
    msgstr “”
    “Project-Id-Version: Woocommerce Easy Booking\n”
    “Report-Msgid-Bugs-To: \n”
    “POT-Creation-Date: 2019-02-04 20:38+0000\n”
    “PO-Revision-Date: 2019-03-25 16:04+0000\n”
    “Last-Translator: Christoph XXX<xxx@xxx.com>\n”
    “Language-Team: Deutsch\n”
    “Language: de-DE\n”
    “Plural-Forms: nplurals=2; plural=n != 1;\n”
    “MIME-Version: 1.0\n”
    “Content-Type: text/plain; charset=UTF-8\n”
    “Content-Transfer-Encoding: 8bit\n”
    “X-Generator: Loco https://localise.biz/\n”
    “X-Loco-Version: 2.2.0; wp-5.0.4”

    msgid “night”
    msgid_plural “nights”
    msgstr[0] “Nacht”
    msgstr[1] “Nächte”

     

    Best regards,

    Christoph

    • This reply was modified 2 months ago by  Christoph.
    • This reply was modified 2 months ago by  Christoph.
    #5774

    Ashanna
    Plugin's author

    Hello,

    Could you please rename your files like this:

    • easy_booking_discounts-de_DE.po
    • easy_booking_discounts-de_DE.mo

    Does it fix your issue?

    Regards,
    Natasha

    #5775

    Christoph
    Participant

    Hi Natasha,

    now it works.

    Thanks!

    Christoph

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

The topic ‘[Resolved] Translations pricing tiers and "close" button’ is closed to new replies.