---
title: "Deprecation: #108963 - Deprecate PageRenderer->addInlineLanguageDomain()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-108963-1770907005"
source: "Changelog/14.2/Deprecation-108963-DeprecatePageRenderer-addInlineLanguageDomain.rst"
typo3-version: "14.2"
typo3-major: 14
type: "deprecation"
issue: 108963
forge: "https://forge.typo3.org/issues/108963"
tags: ["Backend", "JavaScript", "FullyScanned", "ext:backend"]
rendered: "2026-09-25T23:17:45+00:00"
---

# Deprecation: #108963 - Deprecate `PageRenderer->addInlineLanguageDomain()` {#deprecation-108963-1770907005}

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

## Description {#description}

`\TYPO3\CMS\Core\Page\PageRenderer->addInlineLanguageDomain()` has been
deprecated in favor of importing JavaScript modules, as introduced in
[Feature: #108941 - Provide language labels as virtual JavaScript modules](https://docs.typo3.org/permalink/changelog:feature-108941-1770902109).

## Impact {#impact}

Extension developers can now use labels in JavaScript components without
requiring labels to be preloaded globally or per module. This reduces the risk
of missing labels and simplifies developer workflows.

## Affected installations {#affected-installations}

The deprecated method was introduced in TYPO3 v14.1. This means that only
installations that use `addInlineLanguageDomain()` in TYPO3 v14.1 or later
are affected.

## Migration {#migration}

The call to `PageRenderer::addInlineLanguageDomain()` can be removed. In
the JavaScript code, add a module import that imports from the
`'~labels/'` prefix.

Before:

```php
$pageRenderer->addInlineLanguageDomain('core.bookmarks');
```

```javascript
import { html } from 'lit';
import { lll } from '@typo3/core/lit-helper.js';

html`<p>{lll('core.bookmarks:groupType.global')}</p>`
```

After:

```javascript
import { html } from 'lit';
// Import labels from language domain "core.bookmarks"
import labels from '~labels/core.bookmarks';

// Use label
html`<p>{labels.get('groupType.global')}</p>`
```
