Home › Forums › Gillion Theme › Translate “Search Results for”
Home › Forums › Gillion Theme › Translate “Search Results for”
Hi @dirkvang,
I hope you are well today and thank you for your question.
Could you please regenerate the POT file as described on the below pages and then translate it?
https://wordpress.stackexchange.com/questions/149212/how-to-create-pot-files-with-poedit
https://sellingplugins.com/create-translation-files-using-poedit-free/
Best regards,
Shufflehound team
Could you please contact the Loco Translate support to know why it is not translating?
I will, but isn’t it because its not translatable based on the theme code? It looks like I’m not the first with the issue: https://support.shufflehound.com/forums/topic/how-to-translate-show-all-and-search-results-for/
It is translated into the latest version of the theme that you can also see in your shared topic.
The Loco Translate support can provide more information about the issue.
It is translatable as it uses the function esc_html__ as described on the below page.
https://developer.wordpress.org/reference/functions/esc_html__/
Solution for this topic
Hi, you are right!
The way I could fix it was using WPML, string translate those 2 lines, then export that PO file, copy all other translations I had into that new PO file, save it, compile MO and replace the ones in /languages/themes/ with these new ones. š
Awesome great to see you got that fixed.
Please advise if you have more questions.
Have a fantastic day!