---
title: "Deprecation: #85806 - Second argument of PageRenderer::addInlineLanguageLabelArray"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85806"
source: "Changelog/9.4/Deprecation-85806-SecondArgumentOfPageRendereraddInlineLanguageLabelArray.rst"
typo3-version: "9.4"
typo3-major: 9
type: "deprecation"
issue: 85806
forge: "https://forge.typo3.org/issues/85806"
tags: ["PHP-API", "FullyScanned", "ext:core"]
rendered: "2026-09-18T17:00:34+00:00"
---

# Deprecation: #85806 - Second argument of PageRenderer::addInlineLanguageLabelArray {#deprecation-85806}

See [forge#85806](https://forge.typo3.org/issues/85806)

## Description {#description}

The second argument in `TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelArray()` has been marked as deprecated.

Setting this (optional) argument to `true` must be resolved by using the `\TYPO3\CMS\Core\Localization\LanguageService` directly.

## Impact {#impact}

Calling the method with an explicitly set second argument will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

Any TYPO3 installation with a custom extension calling the method above with a second method argument.

## Migration {#migration}

If the second argument was set to `true` before, use the `\TYPO3\CMS\Core\Localization\LanguageService`. If the
second parameter was set to `false` before, just remove it from the method call.
