Bug #39127

Translation of a form makes the form wizard unusable

Added by Mario Rimann 10 months ago. Updated 2 months ago.

Status:Resolved Start date:2012-07-20
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:Form Wizard
Target version:-
TYPO3 Version:4.7 Complexity:
PHP Version:
Votes: 0

Description

When I generate a form (e.g. the standard contact form for a website) and want to translate that one to another language of that site, the localized record gets properly stored. In the field with the "typoscript-like" description of the form, a "Translate to X" is prepended and opening the wizard results in an empty form.

I think it would be ok to just make sure that this "Translate to X" thing is not inserted on top, the wizard would work as expected (= showing all the added form components - of course in the default language).

At the moment it's needed to
  • localize the form record
  • remove the "Translate to X" text at the top of the form config
  • save the whole record (!)
  • then start the wizard to translate the single fields

Tested on TYPO3 v4.7.2

Associated revisions

Revision 338cf5b6
Added by Mario Rimann 2 months ago

[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/12996
Tested-by: Mario Rimann
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 082208cd
Added by Mario Rimann 2 months ago

[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/18887
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 47b31bda
Added by Mario Rimann 2 months ago

[BUGFIX] Translation of a form makes the form wizard unusable

As soon as the form-configuration for the form wizard gets
loaded, the leading "[Translate to XYZ:] " is stripped off to get the
wizard working (with the leading text, the form config could not
be serialized as needed and the wizard didn't show a single field).

The stripping is only done on localized records.

Change-Id: I0cab1d371abf5ae01b524c39acedcd1a3a5db9c4
Fixes: #39127
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/18888
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

Updated by Ernesto Baschny 10 months ago

So translating is possible, but its just a matter of not having the prefix in the translation? The subject of this issue is misleading, as it implies that translations doesn't work at all.

Updated by Mario Rimann 10 months ago

Agreed, you're absolutely right. Can you rename the issue?

Updated by Ernesto Baschny 10 months ago

  • Subject changed from Translating a form is not yet possible to Translation of a form makes the form wizard unusable

Updated by Gerrit Code Review 10 months ago

  • Status changed from New to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12996

Updated by Gerrit Code Review 10 months ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12996

Updated by Gerrit Code Review 4 months ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12996

Updated by Gerrit Code Review 2 months ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12996

Updated by Gerrit Code Review 2 months ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12996

Updated by Gerrit Code Review 2 months ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12996

Updated by Gerrit Code Review 2 months ago

Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/12996

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18887

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/18888

Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18887

Updated by Anonymous 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF