Grid + Popup form -> modal title not translated.
VictorUlloa, Tue Sep 17 2024, 09:03PM
Hello,
I have Grid + Popup form apps in multilingual projects, but the string for the "title" property of the cModal component in the popup form is not translated.
Steps to reproduce:
- In the testcases sample project, enable multilingual translation, add at least one language.
- Go to the "employee" app. Select the cModal object in the popup form, and set title to some value like
[ %mytitle% ]
- Set a value for the translation string in Localization > Translations. Generate language files
- Run the app and press the edit icon (pencil) to show the Popup form. The title is NOT translated, its
"[ %mytitle% ]"
I'm using PHsPeed 3.5 - B2
Regards,
Re: Grid + Popup form -> modal title not translated.
VictorUlloa, Tue Sep 17 2024, 09:04PM
Sorry a little note: the extra spaces between the square brackets and the % sign are intentionall, and they're NOT present in the property definition (they're not related to the issue!)
Re: Grid + Popup form -> modal title not translated.
administrator, Tue Sep 17 2024, 09:05PM
Confirmed. Added to bug tracker.
Re: Grid + Popup form -> modal title not translated.
administrator, Fri Sep 20 2024, 07:59AM
Actually, this is not a bug. As the popup form needs to be generated before the actual rendering process, and the title needs to be there, there is currently no technical solution to this issue. That doesn't mean that we are not working on it. It has been on the 'open ends' list for some time. We are working on the issue and expect it to be solved. The current work-around is to remove the title and use a label in the panel that is embedded in the popup.
Re: Grid + Popup form -> modal title not translated.
VictorUlloa, Fri Sep 20 2024, 10:49AM
Thank you very much, I will use the workaround!