pluginsGLPI / formcreator

GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
http://www.teclib-edition.com
GNU General Public License v3.0
174 stars 125 forks source link

Error with form languages #3378

Closed Madgith closed 1 year ago

Madgith commented 1 year ago

Hi,

Today, I set up a translation for all my form and is working well except for the textarea. I have a textarea with a text write in the default values. This text is translated into the form languages but, when I used an English browser, all is in English except the textarea appears in french.

Steps to reproduce the behavior:

translate_error

GLPI version : 10.0.10 list of all plugins with their version : behaviors 2.7.2, formcreator 2.13.7, mreporting 1.8.2

I try with the desktop version of Chrome 117 and Firefox 118. If my English is not understandable, I can explain it in French.

Thanks in advance

Madgith commented 1 year ago

Hi,

Another problem related to translation, if I use a select field in my form as a condition to create a ticket, when I use a translated proposal, I receive a error and the new ticket don't created.

Steps to reproduce the behavior :

image

If I use an untranslated proposal, the ticket is created correctly.

Thanks in advance for your help.

btry commented 1 year ago

Hi

I think this commit will solve your problem.

https://github.com/pluginsGLPI/formcreator/commit/28b4781d8f0042aff2750dacb1662ca993e0b623

btry commented 1 year ago

Try also the above PR for the initial problem.

Madgith commented 1 year ago

Hi,

I use the PR, it solve the second issue but the first one is in the same state

btry commented 1 year ago

Hi

https://github.com/pluginsGLPI/formcreator/commit/28b4781d8f0042aff2750dacb1662ca993e0b623 should solve problem with a select field. It has been reported several times and reported working.

The PR #3386 addresses the untranslated problem in the default value of a text area, as you reported when you opened this issue. Then you need both to solve the 2 issues you described.