Feature #34169

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

Added by Karsten Dambekalns about 1 year ago. Updated about 1 year ago.

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

100%

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

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 about 1 year 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

Updated by Karsten Dambekalns about 1 year ago

  • Category set to I18n
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.1

Updated by Gerrit Code Review about 1 year 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

Updated by Gerrit Code Review about 1 year ago

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

Updated by Karsten Dambekalns about 1 year ago

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

Also available in: Atom PDF