People and teams are not loading language strings correct on server-side

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: Confluence Cloud
    • None
    • ALL Languages

      Visit: https://at-perfpm.jira-dev.com/wiki/home?NO_SPA=1 

      Teams is not translated.

       

      This is because people-and-teams had their own IntlProvider that loads translations in a useEffect hook. This hook is no-op on the server-side. Thus falling back to English.

      Platform components should not make their own providers. Instead they should just add the strings to product which would be handled automatically https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo/browse/confluence/next/packages/i18n/src/messages.ts

            Assignee:
            Qiang Zeng
            Reporter:
            Ran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: