admin管理员组文章数量:1122832
I am using Contact Form 7 plugin to create a simple contact form with file upload option. For file upload CF7 inserts [file]
tag. This tag renders a button with Choose File
string and a string No file chosen
near right to the button (if no files have been uploaded).
These strings are default for the file upload option and are not present neither in CF7 "Messages" tab for a given contact form, nor in "Translations" section of the Polylang plugin which I am using for website translations. I may need to translate these 2 strings.
I have found CF7 string translations there [1], and for my specific locale there [2]. But these strings seem to be missing in these links too. I tried to inspect some of the CF7 plugin .php files (like file.php) for these strings and didn't find them there either.
I understand that for every translation language I'd need to create a new CF7 form with its strings translated. But there seems to be no access to these 2 strings.
Can you advise on how to translate/get access to these 2 strings rendered by the CF7 file upload tag? Maybe you can indicate specific CF7 plugin files, where the file upload button code is handled along with the 2 strings mentioned above (so that I can translate directly in the plugin files, though then I'd also need to know which plugin files handle the newly created contact forms which I will create for each language)?
[1] /
[2] /
本文标签: How to translate strings from file upload tag in Contact Form 7
版权声明:本文标题:How to translate strings from [file] upload tag in Contact Form 7? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302471a1931543.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论