[Forminator Pro] Change text on file upload button and file info

1

I can’t find a place to change the text in the file upload button and text to the right of it in the field settings. Please add it. Now it’s only written in English, which doesn’t work for forms in foreign languages.

  • Patrick Freitas
    • FLS

    Hi Peter

    Hope you are doing well.

    I took a closer look, and this translation is included on translation files (mo,po)

    You can help with the plugin translation from this link:
    https://wpmudev.com/translate/projects/forminator

    For this, you can translate in some different ways.

    – By helping on our translation.

    Go to the plugin page, find the term that you would like to translate, translate it.

    [attachments are only viewable by logged-in members]

    Export the Po/Mo file, and upload to sFTP/FTP wp-content > languages > plugins.

    – The second way is for custom translations.

    Go to the plugin page > Select your language > Export the PO file.

    This file can be readable by software like Visual Studio Code, Notepad ++ or Po Edit https://poedit.net/

    Add your custom translation, using an online tool, you can convert the PO to MO (https://ezgif.com/mo-to-po) and upload both files on the same wp-content > languages > plugins..

    A plugin alternative is using Loco translate plugin:
    https://wordpress.org/plugins/loco-translate/

    Let us know if you need any further help on this,
    Best Regards
    Patrick Freitas

  • Thomas
    • The Incredible Code Injector

    Seems the problem is the site is not able to change language to Swedish in the settings. I don’t have a solution to this. I’ve added a

    define (‘WPLANG’, ‘sv_SE’:wink:;

    to wp-config. Still the site is in English.

  • Patrick Freitas
    • FLS

    Hi Peter

    I can see the form is on correct language now.

    [attachments are only viewable by logged-in members]

    Were are you able to get this fixed?

    You can work on WordPress in both languages by defining a default site language and your profile language.

    On WordPress > Settings > General > Website Language

    Then navigate to Users > Profile > Edit your profile and add your wished language.

    It will make the WordPress load on your defined language when you are logged in, but for visitors and other administrators should keep the default website language.

    The define (‘WPLANG’,) Shouldn’t be necessary anymore.

    Let us know if you need any further help on this.
    Best Regards
    Patrick Freitas

    • Chamosan
      • Design Lord, Child of Thor

      NVM, I was able to find the right class for the style:
      /*CONTACT form*/
      .forminator-ui#forminator-module-600.forminator-design–material .forminator-button-upload {
      background-color: #666666;
      color: #ffffff;
      width: 17.5rem;
      text-transform: uppercase;
      font-weight: 700 !important;
      height: 5.5rem;
      }

      Keep in mind that the ‘forminator-design–material’ is because of the style I chose for the form, the code might need some adjustments if you have a different design.

      If anyone finds a better way, I would appreciate it very much if you share it here.
      Thanks!