Feature #34169

Encapsulate i18n configuration so it can be passed around and modified easily

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-02-22
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:I18n
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No

Description

The behavior of the i18n component needs to be configurable, down to per request in some cases. Thus a configuration object to hold configuration should be available.

Associated revisions

Revision 7323b900
Added by Karsten Dambekalns over 3 years ago

[!!!][FEATURE] Adds i18n configuration holder

To control the behavior of the i18n component a way to
configure the "current" locale, fallback rules for resolving
of translations and possible more is needed.

This change adds a Configuration object to the i18n code
which encapsulates the configurable parts.

For early adopters this change means the calls to
getDefaultLocale() and getCurrentLocale() on I18n\Service
need to be routed to Service->getConfiguration()->…
instead.

Change-Id: Ia1174cedf556e2cdd1e992d447fb2a0cd79953c9
Resolves: #34169
Releases: 1.1

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Category set to I18n
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.1

#2 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9146

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9146

#4 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF