Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23768

As a platformUI user, I want to select the language of the new content object I am creating

    Details

      Issue Links

        Activity

        Show
        Mateusz Hyndle (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/310
        Hide
        Mateusz Hyndle (Inactive) added a comment -

        Merged in master: https://github.com/ezsystems/PlatformUIBundle/commit/325b732e8d07d1d34c398a6f89c65b400dc1a68f
        Implementation lacks notification about changing the language and there is another issue for that: https://jira.ez.no/browse/EZP-24810

        Show
        Mateusz Hyndle (Inactive) added a comment - Merged in master: https://github.com/ezsystems/PlatformUIBundle/commit/325b732e8d07d1d34c398a6f89c65b400dc1a68f Implementation lacks notification about changing the language and there is another issue for that: https://jira.ez.no/browse/EZP-24810
        Hide
        Rui Silva (Inactive) added a comment - - edited

        [~mateusz.hyndle@ez.no], is it expected that the languages that appear on the language switcher when I try to create a content and the ones that appear when I try to edit a content are different?
        Due to EZP-24817 I cannot, so far, create a content in a language other than the default one (in my case, eng-GB), so I do so.
        Then I try to edit it in another language, but none of the languages that showed up when I created it at first show, other than the default one it was created in, in this case, eng-GB.

        Show
        Rui Silva (Inactive) added a comment - - edited [~mateusz.hyndle@ez.no] , is it expected that the languages that appear on the language switcher when I try to create a content and the ones that appear when I try to edit a content are different? Due to EZP-24817 I cannot, so far, create a content in a language other than the default one (in my case, eng-GB), so I do so. Then I try to edit it in another language, but none of the languages that showed up when I created it at first show, other than the default one it was created in, in this case, eng-GB.
        Hide
        Mateusz Hyndle (Inactive) added a comment -

        When you are creating the content, you don't have any saved version of content, so when you are changing the language you can see on the list languages that are available in system (remember that for now available languages list is hardcoded so to avoid errors use languages that you have activated in ezpublish symfony config).
        For edit content it's bit differrent as you already have got saved version of content and you have got at least one translation. So for now change language when editing content allows us to choose one from already existing translations. It's differrent from what is presented on wireframes in story 5, but this issue is not covering story 5.

        Show
        Mateusz Hyndle (Inactive) added a comment - When you are creating the content, you don't have any saved version of content, so when you are changing the language you can see on the list languages that are available in system (remember that for now available languages list is hardcoded so to avoid errors use languages that you have activated in ezpublish symfony config). For edit content it's bit differrent as you already have got saved version of content and you have got at least one translation. So for now change language when editing content allows us to choose one from already existing translations. It's differrent from what is presented on wireframes in story 5, but this issue is not covering story 5.
        Hide
        Rui Silva (Inactive) added a comment -

        Thank you Mateusz, that makes sense.

        Tested and approved by QA for master.

        Show
        Rui Silva (Inactive) added a comment - Thank you Mateusz, that makes sense. Tested and approved by QA for master.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jince Kuruvilla (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 week, 4 days, 3 hours
              1w 4d 3h