Hi,
in CRED forms there are missing texts for translation in .po file:
1) If you add another image, there is Delete **** repetition and also Add new text.
2) If you add new category there is Cancel with red cross which also cannot be translated.
3) Same as point 1) but new text line Add new is connected with name of the line.
If you look to wp-cred.po file there are similar texts, but they dont´t belong to them.
You needed list of translation as I have read in topic https://toolset.com/forums/topic/do-i-have-to-translate-with-wpml/
I have found one missing text to be translated:
4) If you upload image, you can delete it - so there is text delete
Dear Dave,
Thanks for the feedback, it is already in our to-do list, our developers are working on it, currently I suggest you try the solution in another thread:
https://toolset.com/forums/topic/i-want-to-change-the-delete-button-text-for-a-repeating-image-field/#post-362316
Hi,
thanks for the link, but there is missing the delete text as I wrote in previous post. Do you have a filter for it?
I assume we are talking about the title "delete" of your post:
https://toolset.com/forums/topic/missing-texts-for-translation-in-cred-forms/#post-548799
You can translate it with wordpress built-in filter hook "gettext", for example:
add_filter('gettext', 'my_delete_func', 10, 3);
function my_delete_func($translated_text, $text, $domain){
if($text == 'delete' && $domain == 'wp-cred'){
$translated_text = "my delete text";
}
return $translated_text;
}
More help:
https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
Thanks, it works great. But I hope the developers will update it. It seems by the other posts that this problem lasts for more than 1.5 year.