Vietnam not Viet Nam

Home Forums Calendar Products Events Calendar PRO Vietnam not Viet Nam

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #951610
    Mintu
    Participant

    Hi guys,

    I imported venues for Vietnam and was successful. But once i went into the venue details the country was not selected. I saw in the list of country “Vietnam” was “Viet Nam”.

    Please let me know how to fix the dropdown of country name.

    Thanks,
    Mintu

    #951730
    George
    Participant

    Hi Mintu,

    I’m sorry about your frustration here. I dug deeper into the actual Events Calendar code and indeed found that we have the value for “Vietnam” hard-coded in our plugin as “Viet Nam”.

    I’m curious about your input issues though – if importing things with “Vietnam” as the country leads to the saved Venue country being empty, would you be willing to make a small code change to test if this is the full extent of the issue?

    To make the change I’m describing here, you’d need to head into your plugin files and head to a file called /lib/tribe-view-helpers.php and look for line 278 or so of the file – you should see code that looks like this:

    
    "VN" => __( "Viet Nam", 'tribe-events-calendar' )
    

    If you change that to this:

    
    "VN" => __( "Vietnam", 'tribe-events-calendar' )
    

    And then run your import of events and venues again, does anything improve? Do your imported venues save with their countries properly set to “Vietnam”?

    Let us know if this helps Mintu! 🙂

    Cheers,
    George

    #983938
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Vietnam not Viet Nam’ is closed to new replies.