Ask questions about installing and configuring ProcessMaker 3
#816005
Hello,
consult, in these 3 years with PM3 and I have not seen a full support for field validations required in dynaform and the "New" button in the grids.

with the processmaker.en.po not work the next:
_______________________________________________________
# TRANSLATION
# LABEL/ID_MAFE_9303c9bd4f8178680dc382adbfcd62af
#: LABEL/ID_MAFE_9303c9bd4f8178680dc382adbfcd62af
msgid "This field is required."
msgstr "Este campo es obligatorio."
_______________________________________________________

and i don't want edit the install JS file "public_html/lib/pmdynaform/build/js/PMDynaform.js" For Requided message
and "public_html/lib/pmdynaform/build/pmdynaform.html" for the text "New" in buton for the grids.

Thanks! y Saludos en español :)
Last edited by NLj015 on Fri Sep 28, 2018 3:31 pm, edited 1 time in total.
#816006
To get the "This field is required." translation to work correctly, you need to update the strings for the current version of ProcessMaker.
Go to Admin > Languages and select "es-ES" in the list and click on the "Export" button. Then, download the processmaker.es-ES.po file from ProcessMaker. Then, click on "Import" and select the processmaker.es-ES.po file that you just downloaded. After you have imported it, you should see "Este campo es requerido." in the Dynaform. (If you don't see it, then delete your web browser's cache).

You are right about "New". For some reason, ProcessMaker isn't able to translate it.
translationInDynaforms.png
translationInDynaforms.png (119.53 KiB) Viewed 4234 times
The only way to translate it, is to edit public_html/lib/pmdynaform/build/js/PMDynaform.js and change the line:
Code: Select all
            addRowText: "New".translate(),
#816312
Thanks, it´s workded but not in text of buttons file ("Allowed file extensions") and multilefile ("Choose Files") fields
error lenguaje español2.png
error lenguaje español2.png (29 KiB) Viewed 4177 times
Saludos




amosbatto wrote: Tue Sep 11, 2018 10:28 pm To get the "This field is required." translation to work correctly, you need to update the strings for the current version of ProcessMaker.
Go to Admin > Languages and select "es-ES" in the list and click on the "Export" button. Then, download the processmaker.es-ES.po file from ProcessMaker. Then, click on "Import" and select the processmaker.es-ES.po file that you just downloaded. After you have imported it, you should see "Este campo es requerido." in the Dynaform. (If you don't see it, then delete your web browser's cache).

You are right about "New". For some reason, ProcessMaker isn't able to translate it.
translationInDynaforms.png
The only way to translate it, is to edit public_html/lib/pmdynaform/build/js/PMDynaform.js and change the line:
Code: Select all
            addRowText: "New".translate(),
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]