Tell us what you are trying to do? I have to translate into English part of the Cred Denunciation form (ID: 37054). (Attached image unnamed.jpg) at hidden link. And also
in hidden link (Attached image 2.png) I want to change "add new " to Spanish "añadir nuevo",
I know there is a payment translator but I'm not interested at the moment.
Where can I find the files ini, po and mo, to be able to translate? Not only in Cred but in all Toolset.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hello,
In CRED plugin, there are two folders storing the language local files:
1) CRED translation files: :
\cred-frontend-editor\library\toolset\cred\embedded\locale\
2) Toolset common translation files:
\cred-frontend-editor\vendor\toolset\toolset-common\languages
In your case, you can also translate the "Add new" text with wordpress built-in filter hook "gettext", for example, add below codes into your theme file functions.php:
add_filter('gettext', 'my_func2', 10, 3);
function my_func2($translated_text, $untranslated_text, $domain){
if($translated_text == 'Add new' && $domain = 'wpv-views'){
$translated_text = 'Add new in your language';
}
return $translated_text;
}
Thanks "add new" I have been able to change it perfectly.
How can I change in "Attached files" load "select file" "no selected file"? They are in Spanish and I want to translate it into English
hidden link
There isn't such a built-in feature within CRED form, the file filed is created with HTML tag:
<input name="myFile" type="file">
The text "select file" and "no selected file" will be changed according to your browser settings,
see similar thread:
https://stackoverflow.com/questions/5138719/change-default-text-in-input-type-file
Each browser has it's own rendition of the control and as such you can't change either the text or the orientation of the control.
More help:
hidden link
I get it,
On this website, I have told WordPress that the main language is English. Everything has changed except
I think my toolset is in Spanish, I can change only for this web page hidden link that is in the English version.
In my localhost, with the Chrome browser in English, it does display the text in English, see screenshot: file-field.JPG, so there isn't the problem you mentioned above:
https://toolset.com/forums/topic/where-can-i-find-the-files-ini-po-and-mo-to-be-able-to-translate/#post-882501
"select file" "no selected file"? They are in Spanish ...
Can you try with a English browser and confirm it?
I assume the original question of this thread has been resolved:
https://toolset.com/forums/topic/where-can-i-find-the-files-ini-po-and-mo-to-be-able-to-translate/#post-881962
To avoid any more misunderstand, please create new thread if you have new questions, and describe detail steps to duplicate the same problem, that will help other users
https://toolset.com/forums/topic/where-can-i-find-the-files-ini-po-and-mo-to-be-able-to-translate/#post-882684