You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runtime integration with Phrase has some issues:
Using the form's custom properties introduces a delay in rendering the translated form: the form renders, translations are fetched from our API, then the form re-renders when the translations are loaded.
Copying form.io forms between environments ("stages") doesn't copy the custom properties, so we have to remember to copy them manually.
The fix for the copying issue is to move the translation properties to the "Form.io render options" JSON blob in Drupal. However, in order for this to also fix the rendering delay we would need to either load the translations before the form (which would delay rendering anything) or load the form and the translations in parallel, like:
Another option to consider is that translations could be loaded into Drupal from Phrase somehow (at publish time?), and embedded in the form options in our template. @jacine@aekong I would love your thoughts on this.
The text was updated successfully, but these errors were encountered:
The runtime integration with Phrase has some issues:
The fix for the copying issue is to move the translation properties to the "Form.io render options" JSON blob in Drupal. However, in order for this to also fix the rendering delay we would need to either load the translations before the form (which would delay rendering anything) or load the form and the translations in parallel, like:
Drupal
Another option to consider is that translations could be loaded into Drupal from Phrase somehow (at publish time?), and embedded in the form options in our template. @jacine @aekong I would love your thoughts on this.
The text was updated successfully, but these errors were encountered: