Skip Navigation

[Resuelto] Translate «Search for a post» and «Please enter 3 or more characters»

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: I can't translate "Search for a post" or "Please enter 3 or more characters".

Solution: Update to the latest versions of Toolset plugins to get the fix for this issue. These strings are now translatable in String Translation.

This support ticket is created hace 6 años, 1 mes. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Etiquetado: 

Este tema contiene 11 respuestas, tiene 2 mensajes.

Última actualización por Franck hace 5 años, 9 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1126991
Exemple.jpg

I use a front-end form for connecting posts.
I need to use different languages.
What is the best solution to translate "Search for a post" and "Please enter 3 or more characters"?
(image below)

#1127069

Hi, at this time those two strings are untranslatable because they are hard-coded into the select2.js library. We use this 3rd party library to show a typeahead or predictive search in the select field. We have an internal ticket in place that will enhance this feature to allow translations, but unfortunately I don't have a timeline available for its delivery yet. If this is a major problem for your site, you can disable the typeahead feature by adding the use_select2 attribute to the relationship role shortcode in your Form editor:

[cred-relationship-role role="parent" use_select2="never"]

This will remove the typeahead feature and leave a standard select field for your Users.

#1127079
Exemple2.jpg

Hi Christian,
Thanks for this answer, especially on a Sunday. 🙂
I tried and it doesn't seem to work.
(Image above)
xxx use_select2="never" xxx appears above the parent and doesn't change anything in the child choices presentation.
=====
"If this is a major problem for your site": yes and of course, it is.
Even if lots of people everywhere speak and write in English, it doesn't mean we wish to have English statements appearing here in there in everything we build! (No offense intended.)
=====

#1127093

Can you copy + paste the entire Relationship Form code here for me to review? Wrap your code in code tags here in the reply to format it neatly. See the "Formatting instructions" link above the reply textarea.

#1127105

Is it possible to communicate on another channel?
This one is public.
I suppose you know my email address.
Could you contact me by mail for us to continue to work on this solution?

#1127112

I am unable do that, our support policy states that we must conduct all communication via the forum. I can enable a private reply field where you can share private credentials if you want me to log in and look in wp-admin. Only you and the support team will be able to see those credentials. In addition, all URLs you include in your public replies will be obscured in the public form. Only you and supporters will see the full URLs. You can also change any post types or field names to be something else, if your content is identifiable by those names. Let me know how you would like to proceed.

#1127116

Thanks for your answer.
FYI, I already exchanged with some of your developers by mail in the past.
I don't agree with 2 things:
- discovering that your developers hard-code the front-end with English sentences, especially knowing that you belong to the same "family" then WPML.
- having to deal with "support tickets" on a public forum.
Please let me know when your developers find some time to solve this hardcoding issue they created in the first place.
On my side, I will try to find enough time in the next days to create a research and dev website where we can work together to find a bypass in case your developers have not solved it in the meantime.
This issue is not solved. So please don't close it before I come back to you.

#1127135

I'll be glad to attach this ticket to our internal ticket and give you an update when the issue is fixed. However, I we can't guarantee a timeline for delivery of that feature. I am also marking this ticket as pending an update from you. The ticket will remain open for 30 days.

#1131789

Hi,
Here is what writes your bot this morning:
"This is the support cleanup robot, making sure that nothing is left behind or forgotten. I see that you have an open support thread that’s been waiting for feedback for one week now. "
I can't see how this ticket could be magically solved by itself when the issue remains there until your developers deal with the hard-coding they have written themselves in the solution.
Please, could you teach your bot not to follow your customers when the next thing to do is on your side?
Instead, you could teach it to remind your developers they have a task to do.
Best,
Franck

#1132096

You said you would try to create a research and dev website where we can work together to find a bypass in the meantime, so I marked this ticket as pending an update from you. I will be glad to update the status and the system will stop prompting you for an update.

#1200583

Hello, we have released new versions of Types, Views, Forms and WooCommerce Views today. Those are available now for download at https://toolset.com/account/downloads and will be available for automatic update shortly. In the new versions, the strings you mentioned are now available for translation. You can manage these strings in WPML String Translation by searching for:
"Search for a post"
and
"Please enter %NUM% or more characters"

#1200713

Special thanks to Amir who listened to me and did what was necessary to solve this issue! 🙂