Support » Plugin: WP Booking Calendar » Change Languaje

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Please read more about the translation here.

    The booking calendar is support changing the interface based on locale of the site. So you are need to have the correct locale settings at the config.php file at the root of your site.

    Plugin is use the active locale of the site for the activation of the specific language from the ../booking/languages/ folder.

    If you are use the free version, so then you are need to make the FULL reinstall of the plugin, its because the email template and labels to the booking form is saved to the DB during activation of the plugin and you are need to make this reactivation. Its mean that the exist bookings and settings will be erased.

    If you are using the paid version of the Booking Calendar and need only the booking form labels at the client side of your site in different language, so you can customize the booking form at the Booking > Settings > Fields page at top form. Please test it at the live demos here.

    Hello,

    I’m having the same problem, with the change i’m trying to translate into Danish, and as far as I know Danish is tranlated 100%.
    I’m using the free edition version 4.1.4 WP version 3.5.1.
    Everything except the responce-mail text is translated OK. IE the Name, email, telephone a.s.o. are translated, but not the text for instance “Your booking for: ….” is still in English.
    How do I correct this?

    [ redacted, support is offered via the forum and not email. Signature moderated please stop doing that. ]

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Please open firstly the Danish translation file (PO) at the ../booking/languages/ folder, and recheck tour text was translated there.
    Then if you was made the translation of that text after the activation of the plugin in the free version you are need to make the full reinstall of the plugin to be able get the modified translation text. Please check about it at the above comment.

    Hello,

    I have now checked the po-file again and the sentence is indeed available with the correct translation.
    Also I have re-installed and re-activated the plugin several times, but all to no avail. The first line “Your booking for: 1. juni 2013 – 2. juni 2013 has been approved.” is still in english and not in Danish as expected.
    The funny thing is the name, email aso. are all translated correctly. But the last line “Thank you, Bornholms Miljø- & Energiforening” remains in English.

    [ redacted, support is offered via the forum and not email ]

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello again.
    Ok, please try to make this.

    1) Firstly open this file ../booking/languages/wpdev-booking-da_DK.po using the notepad as text file.
    Please find this lines:

    #: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-booking-class.php:3834
    #, php-format
    msgid "Your booking %s for: %s has been approved.%sThank you, %s"
    msgstr ""

    You have to see the translation of that sentence for the “msgstr” variable. If you are see that variable blank, like this
    msgstr "" so its mean that there are no translation and you are need to make it using the POEdit tool, relative to the above translation.

    2) Also please recheck that after saving new translation to the “../booking/languages/wpdev-booking-da_DK.po” file this file: “../booking/languages/wpdev-booking-da_DK.mo” is also updated. Because the plugins are use the MO files for getting translations.

    3) Now you are need to be sure that you are made the reinstall plugin correctly. Here is instruction:

    – Open firstly the General Booking Settings menu page of Booking Calendar admin panel, and at the right side of the page recheck that this option “Delete booking data during uninstall” is turned ON (checked), its mean that all your booking data during deactivation will be deleted;
    – Open the WordPress Plugins menu page and click on “Deactivate” link of Booking Calendar. Wait for the message “Plugin is deactivated successfully”. It’s important.
    – Now at the same menu page click on “Activate” link.
    Wait for the message “Plugin is activated successfully”. It’s important. Otherwise not all DB tables will be created, and you will have an error messages.

    Kind regards.

    Hurray, Hurray,

    It’s working (mostly) now. It must have been the “Delete booking …” that did the trick, because i’m using at Danish made translation (mo- & po-files) made by a member of the Danish WP support team, and the translation of this sentence has been there all the time ie. the msgstr was never empty.
    What remains now is a minor issue of the subject string of the responce email is only translated halfway, that is the 2 first words “Your booking” is translated correctly into “Din booking”, but the last 3 word “has been approved” remains English.
    As I said it is a minor issue, but it would look nicer with the correct translation.

    Thanks for your help so far.

    Kind Regards
    Ib H. Rasmussen

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Please recheck your PO file for the translation of that sentence in the same way:

    #: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-booking-class.php:3831
    msgid "Your booking has been approved"
    msgstr ""

    P.S. Please note, in the POEdit tool this translation have not to be marked as “fuzzy”.

    Hello again,

    I have checked the PO-file, and you were right – there was a discrepancy.
    After having corrected it, it all works as expected.

    For my part, we can now declare the problem as solved!
    Thank you again for your help.

    Kind Regards
    Ib H. Rasmussen

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change Languaje’ is closed to new replies.