Ticket #8379 (closed Bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Incorrect translation handling of content created withing PloneGenerator.setupPortalContent

Reported by: erico_andrei Owned by: hannosch
Priority: minor Milestone: 3.1.5
Component: Internationalization Version:
Keywords: Cc:

Description

During portal creation, Products.CMFPlone.setuphandlers.PloneGenerator.setupPortalContent, content translation is not working properly when the user's language contains a territory identifier. (e.g. pt-br).

This happens due to a conflict between the language code used in i18n (pt-br) and the one used by locales (pt_BR).

Change History

comment:1 Changed 6 years ago by deo

  • Status changed from new to closed
  • Resolution set to fixed

(In [22155]) Fixed incorrect translation handling of content created within PloneGenerator.setupPortalContent. Thanks to Erico Andrei for the hard work! This closes #8379.

comment:2 Changed 6 years ago by deo

(In [22158]) Merged -c22155 from 3.1 branch. This refs #8379.

Note: See TracTickets for help on using tickets.