• Resolved edjua

    (@edjua)


    Seems like upload button uses the language of the browser.
    Can I change the button text and “no files selected” to other text or lock it to one language?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @edjua

    Thank you very much for using our plugin. Unfortunately, the browser does not allow to modify the language of input tags with type="file".

    The alternative would be to emulate it with CSS.

    Please, tick the “Show preview of images” attribute in the settings of the “Upload File” field. And then, enter the style definition below through the “Customize Form Design” attribute in the “Form Settings” tab (https://resources.developers4web.com/cff/images/documentation/form-settings-tab.png):

    #fbuilder .cff-file-field .files-list{margin-top:10px;}
    #fbuilder .cff-file-field input{opacity:0 !important;}
    #fbuilder .cff-file-field .dfield::before{content:"Select your file";position:absolute; border: 1px dashed #999; padding:5px 20px;margin-bottom:10px;color:#999;}

    In the previous CSS block, please, replace the Select your file text with the preferred one.

    Best regards.

    Thread Starter edjua

    (@edjua)

    That will work! Thanks!

    Thread Starter edjua

    (@edjua)

    Sorry for bothering. It looks fine in preview, but when I post it, it’s messed up. What could be the issue?

    Link

    Plugin Author codepeople

    (@codepeople)

    Hello @edjua

    There is a plugin or the theme active on your website that is HTML encoding your Cyrillic characters in the public website.

    Please do the following.

    Instead of entering the CSS block of code through the “Customize Form Design” attribute in the form settings, please, enter it through the menu option “Appearance > Customize > Additional CSS”.

    Best regards.

    Thread Starter edjua

    (@edjua)

    Perfect, thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Upload file button language’ is closed to new replies.