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).