Skip Navigation

[Resolved] translate default labels for parametric search

This support ticket is created 4 years, 2 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 17 replies, has 3 voices.

Last updated by kristofG 4 years ago.

Assisted by: Minesh.

Author
Posts
#1879285

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I still can't understand that. It's exactly the same code, it should work in both views. Or are you saying you can only use the default label once and when you want to use the same shortcode in another view, I'll have to [wpml-string] for the default_label?
==>
I had that impression that once the default_label registered the same string using default_label should not work but based on my latest testing for which I shared the screenshot.

I created two views, Test View 1 and Test View 2 and added the same taxonomy taxonomy filter to both view having the same label but as you can see with the screenshot, I can see the default_lable string is added to String Translation for both of the view.
Please check the following screenshot:
=> hidden link

The string "Select Gym Type" is added two times one for test view 1 and another for test view 2.

So, its working as expected.

If you see in future its not working as expected, you are welcome to open a new ticket.

#1879303

Ok, based on your testing, I deleted all vertical-category_default_label strings from the String Translation table, then made sure both Views use the same shortcode and then saved them. As like in your example, both Views are now registered and in both the translated default label shows up.

Issue resolved, we just needed to delete the "old" strings prior to the default label fix and register them again.

#1879305

My issue is resolved now. Thank you!