Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | Static Public Member Functions | List of all members
eZ\Bundle\EzPublishCoreBundle\EventSubscriber\CrowdinRequestLocaleSubscriber Class Reference

If the request has an `ez_in_context_translation` cookie, sets the request accept-language to the pseudo-locale used to trigger Crowdin's in-context translation UI. More...

Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\EventSubscriber\CrowdinRequestLocaleSubscriber:

## Public Member Functions
| setInContextAcceptLanguage (GetResponseEvent $e)

## Static Public Member Functions
static | getSubscribedEvents ()

## Detailed Description

If the request has an `ez_in_context_translation` cookie, sets the request accept-language to the pseudo-locale used to trigger Crowdin's in-context translation UI.

Definition at line 17 of file CrowdinRequestLocaleSubscriber.php.

## Member Function Documentation

## ◆ getSubscribedEvents()

static eZ\Bundle\EzPublishCoreBundle\EventSubscriber\CrowdinRequestLocaleSubscriber::getSubscribedEvents | ( |  | ) |
| static

Definition at line 19 of file CrowdinRequestLocaleSubscriber.php.

## ◆ setInContextAcceptLanguage()

eZ\Bundle\EzPublishCoreBundle\EventSubscriber\CrowdinRequestLocaleSubscriber::setInContextAcceptLanguage | ( | GetResponseEvent | $e | ) |

Definition at line 28 of file CrowdinRequestLocaleSubscriber.php.

The documentation for this class was generated from the following file:

- CrowdinRequestLocaleSubscriber.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.