Fixing language strings

  • Eoin Feeney
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 days 53 minutes ago - 2 days 3 minutes ago #171210 by Eoin Feeney
Fixing language strings was created by Eoin Feeney
Just some improvements on the English.  Some of them require plurals and some could be written in a slightly different way.

For what it's worth in every one of these I changed the word registration to "booking" or similar.  I don't know if there's a way to find out if other users would agree with my sentiment but that's what we would call it in the UK.  I think these touches up on the language strings make it a stronger and less confusing product.

EB_EVENT_CANCELLED_ALREADY="The event was cancelled. We are not longer accepting registration"
EB_EVENT_CANCELLED_ALREADY="This event has been cancelled. We are no longer accepting registrations"

EB_EVENT_IS_FULL="Sorry, the event is now full and we could not accept more registration"
EB_EVENT_IS_FULL="Sorry, this event is full, and we are not accepting registrations"

EB_NO_LONGER_ACCEPT_REGISTRATION="We are no longer accepting registration for this event"
EB_NO_LONGER_ACCEPT_REGISTRATION="We are no longer accepting registrations for this event"

EB_REGISTRATION_IS_NOT_STARTED_YET="The event is not opened for registration yet"
EB_REGISTRATION_IS_NOT_STARTED_YET="The event is not yet opened for registration"

EB_REGISTRATION_CANCELLATION_CONFIRMATION="Registration cancellation confirmation"

EB_CANCEL_DATE_PASSED="You are not allowed to cancel the registration anymore. We only allow cancellations for this event before %s"

EB_CHECKED_IN_FAIL_REGISTRATION_CANCELLED="Check-in failed - the registeration [FIRST_NAME] [LAST_NAME] was already cancelled"
EB_WAITING_LIST_CANCELLATION_CONFIRMATION="Waiting List Cancellation Confirmation"
EB_REGISTRATION_NOT_AVAILABLE_FOR_ACCOUNT="Registerations for this event are only available for different user groups"
EB_PRIVATE_EVENT_VALIDATION_MSG="This is a private event. In order to register for this event, you need to know the event password. Please enter the password in the form below to continue the booking"
EB_EVENT_WAITING_LIST_IS_FULL="Sorry, we are not accepting registrants to the waiting list for this event anymore"
EB_FILE_NOT_ALLOWED="File %s is not allowed to be uploaded. Only following file types %s are accepted"
EB_EVENT_IS_FULL_COULD_NOT_JOIN="Sorry, the event is now full, so you can not join anymore"
EB_OVERLAP_REGISTRATION_DETECTED="The event you are registering overlaps time with one of the events you are already registered"
EB_PAYMENT_WAS_NOT_SUCCESS="Payment was successful"
EB_FAILURE_MESSAGE="Your booking failed"
EB_YOU_REGISTERED_FOR_EVENTS="You registered for the event(s) %s already and cannot register again"
EB_NO_EVENTS_FOR_CHECKOUT="There are no events selected. Please choose an event"
EB_ENABLE_PAYMENT_METHODS="Please enable at least one non-offline payment methods"
EB_FRIEND_NAMES="Your friend's names"
EB_FRIEND_EMAILS="Your friend's emails"
EB_ONE_NAME_ONE_LINE="One name per line"
EB_ONE_EMAIL_ONE_LINE="One email per line"
EB_HONEYPOT_SPAM_DETECTED="Our apologies, our security suspects that you are spammer. Please contact us"
EB_FORM_SUBMIT_TOO_FAST="You submitted the booking too quickly.  Please slow down when completing the booking form"
EB_EXCEEDED_NUMBER_FORM_SUBMISSIONS="You exceeded the number form submissions allowed"

Attached is my full override file for bookings instead of registrations.  I have also use the UK spelling of organisations and the word county instead of state.  Simply rename this file en-GB.override.ini

Then upload it to /language/overrides/

Be sure you aren't already overwriting one that exists, if you are, copy and paste the file contents and put them before your existing overrides at the top of the file.

File Attachment:

File Name: en-GB.over....ini.txt
File Size:22 KB
  • Last edit: 2 days 3 minutes ago by Eoin Feeney.

    Please Log in or Create an account to join the conversation.

    More
    1 day 13 hours ago #171222 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic Fixing language strings
    Thanks Eoin for sharing. I will check your suggestions and add it to the core package of Events Booking in the next release

    Regards,

    Tuan
    The following user(s) said Thank You: Eoin Feeney

    Please Log in or Create an account to join the conversation.

    More
    1 day 13 hours ago #171223 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic Fixing language strings
    For your information, you can change these language items directly in Events Booking -> Translation for easier management. You do not need to create language override

    The change here will be kept when you update to future releases of the extension

    Regards,

    Tuan

    Please Log in or Create an account to join the conversation.

    • Eoin Feeney
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    22 hours 32 minutes ago #171243 by Eoin Feeney
    Replied by Eoin Feeney on topic Fixing language strings
    Ah I did not know that, that is very useful indeed. I haven't seen that on an extension before. My way was a very quick way to edit things though and to make it easier to use on future sites too. But thank you.

    Please Log in or Create an account to join the conversation.

    More
    15 hours 33 minutes ago #171249 by Tuan Pham Ngoc
    Replied by Tuan Pham Ngoc on topic Fixing language strings
    Yes, guess we are only developers implement this feature :)

    It allows managing language string in a central location and easier to update when it is needed

    Regards,

    Tuan

    Please Log in or Create an account to join the conversation.