Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-81003

Calendar translations with different default languages is not working correctly

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.0 DXP FP46, 7.0.X, Master
    • Fix Version/s: Master
    • Component/s: Calendar, Translations
    • Labels:

      Description

      Seems like more complex problem with translations and default sites and users language settings. Sites default language is set to German, users default language is Spanish. Can be different languages also.

      As Users language setting has higher priority than sites language settings, user will have his page translated to Spanish. But as no Spanish translation is provided in Event, it should display sites default language translation, which is German.

       
       Steps:

      1. As Admin, navigate to your site -> Site Settings -> Languages
      2. Set sites default language "Custom default language...."  -> select German
      3. Navigate to your site, add "Calendar" widget
      4. Create new event
      5. Set translations for English and German only and Save event
      6. As another User, set your users default language to Spanish
      7. Navigate to admins site, check calendar. User has to have permission to View event details.

      Expected result: As sites default language is German, it should display German translation defaultly.
      Actual result: Translation is English even though site is German as default

      Reproducible:

      • CentOS, MySQL 5.6, Tomcat 9.0.6, FF 59.0.2
      • 7.1.x nightly Master git ID: b6d2486ba477bacdadc497fa2ebe64a3548f2624, 7.0.5 GA6

      Fix priority: S3 + L3 = 3

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 33 weeks, 5 days ago

                Packages

                Version Package
                Master