Home › Support › English Support › [Resolved] How to translate file upload type="file"
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Not WPML issue
This topic contains 1 reply, has 2 voices.
Last updated by Marcel 1 year, 12 months ago.
Assisted by: Marcel.
Hello,
I want to know if it is possible to translate the file upload type: type="file"
It is known that this element will change per browser and language.
Thanks in advance!
Languages: English (English ) German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
as the button labels are coming from the browser, you can't translate them with WPML, as it's not even part of WordPress and not a registered string via a getText() call.
There are some custom coding solutions workarounds listed here: https://stackoverflow.com/questions/14340519/html-input-file-how-to-translate-choose-file-and-no-file-chosen.
Best Regards Marcel