trait FusionViewI18nTrait (View source)

Properties

protected Service $i18nService

Methods

void
setFallbackRuleFromDimension(DimensionSpacePoint $dimensionSpacePoint)

If a content dimension named "language" exists, it is used to set the locale fallback chain order for rendering based on that.

Details

protected void setFallbackRuleFromDimension(DimensionSpacePoint $dimensionSpacePoint)

If a content dimension named "language" exists, it is used to set the locale fallback chain order for rendering based on that.

This overrides the fallback order from Neos.Flow.i18n.fallbackRule.order - the strict flag is kept from the settings!

Parameters

DimensionSpacePoint $dimensionSpacePoint

Return Value

void

Exceptions

InvalidLocaleIdentifierException