Home › Forums › Ticket Products › Event Tickets Plus › The Custom field label is not support Traditional Chinese.
- This topic has 12 replies, 3 voices, and was last updated 7 years, 10 months ago by
Yu Cheng.
-
AuthorPosts
-
August 21, 2016 at 2:10 pm #1154173
Yu Cheng
ParticipantHi,
I am building a website for my client and the site language is in Traditional Chinese.
I found that when the field label is in Traditional Chinese, the attendee information can not show in attendees table(Please see the attachments).
Maybe this is related to the issue in this topic?
-
This topic was modified 9 years, 8 months ago by
Yu Cheng. Reason: select forum to Event Ticket Plus
August 21, 2016 at 2:20 pm #1154177Yu Cheng
ParticipantBTW, I open Chrome developer tools and there is no javascript error.
August 22, 2016 at 7:25 pm #1154628Cliff
MemberHi, Yu Cheng. Thanks for your question and linking to that other thread.
Does this sound like what you’re experiencing?
I’ll document what I’m seeing when trying to recreate several broader problems being described by a customer:
Was able to get the Bulgarian characters saving in Fieldset options, however upon purchasing a ticket, we’re unable to view the details of those fields for each attendee. Looking further, when viewing the source for those field labels, the classes are showing as “event-tickets-meta-data_%d0%ba%d0%be%d0%bd%d0%ba%d1%80%d0%b5%d1%82%d0%bd%d0%b8”. I believe the issue there is the root of the issue for not being able to see the values from those fields from the user submissions?
The CSV Export of attendees has similar issues with the Bulgarian characters. The values exported aren’t readable or able to be used elsewhere.
Some sample text and characters for testing:
Разбрах, че за хубавите неща и за истинското познание е нужно търпение и постоянство.August 22, 2016 at 8:01 pm #1154636Yu Cheng
ParticipantYes, that looks like what I experienced.
This is what I am doing:
1.create a custom field for my ticket, and input Traditional Chinese in label field.
2.A user inputs the required field and confirms RSVP on the event page
3.The admin can see the basic information of the user’s submission in the attendees list table.
4.The admin click “View Details”, and the text changes to “Hide Details”, but nothing shows below.This is what I input for the custom field.
The label value:
午餐
The Option value:
葷食
素食Thanks for the support.
Hope this can help you to figure it out what’s happening.August 23, 2016 at 2:38 pm #1155045Cliff
MemberThanks for confirming. I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
Please note that even if this thread gets closed due to inactivity (automatically happens after a couple weeks), this thread should still get a reply added if/when the fix is released.
I apologize for this issue and appreciate your understanding and patience.
August 25, 2016 at 10:08 pm #1156201Yu Cheng
ParticipantHi
Is there any time frame for the release? Will this fix be included in the next release?
Without this feature, I can not deliver the site to my client.If you need two weeks to fix this, I need to find some other solutions.
Thank you.
August 26, 2016 at 9:07 am #1156367Cliff
MemberI’m having one of our developers take a closer look into this for you. Could you please run this database query and provide me the results? (read the notes in the code)
https://gist.github.com/cliffordp/ee49abbf6eb79ccb73bd4251b5e20878
Thank you.
August 29, 2016 at 6:42 pm #1157363Yu Cheng
ParticipantHi Cliff,
Thanks for your support.
This is the screenshot of the result.
https://gyazo.com/5418cfb4d84709bc33b4f5951664b9b7August 30, 2016 at 4:12 pm #1157870Cliff
MemberHi. One of our developers is going to look for a snippetable solution so this issue can get fixed for you before we release it for everyone else via a plugin update.
I’m expecting an answer by the end of this week.
Thanks for your patience.
September 1, 2016 at 10:12 am #1158910Cliff
MemberHi. Could you please try this code (added to a functionality plugin or your active child theme’s functions.php file)?
/** * Helper to workaround unicode/encoding issues that can cause breakages in * relation to ticket meta field functionality. * * @see https://central.tri.be/issues/65385 * * @param array $fields * * @return array */ function ticket_meta_fields_char_encode_fix( array $fields ) { foreach ( $fields as &$field_object ) { $field_object->slug = urldecode( $field_object->slug ); } return $fields; } add_filter( 'event_tickets_plus_meta_fields_by_ticket', 'ticket_meta_fields_char_encode_fix' );Please let me know if it was successful.
Thank you.
September 1, 2016 at 10:48 am #1158925Yu Cheng
ParticipantHi Cliff,
It works. Thank you so much!
September 1, 2016 at 2:41 pm #1159020Cliff
MemberGreat! Thanks for letting me know so quickly.
We’ll leave this thread as Pending Fix.
May 29, 2018 at 4:37 pm #1541372Victor
MemberHi Yu Cheng!
Just wanted to share with you that a new release of our plugins is out, including a fix for this issue 🙂
Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-27-may-2018/
We apologize for the long delay and appreciate your patience while we worked on this.
Please update the plugins and let us know if the fix works for your site.
Best,
VictorJune 20, 2018 at 9:35 am #1557282Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
This topic was modified 9 years, 8 months ago by
-
AuthorPosts
- The topic ‘The Custom field label is not support Traditional Chinese.’ is closed to new replies.
