Skip to main navigation Skip to main content Skip to page footer
TYPO3 v14: Three more features for your everyday life as an integrator

TYPO3 v14: Three more features for your everyday life as an integrator

Have the article read aloud.

Loading the Elevenlabs Text to Speech AudioNative Player...
| TYPO3 | Estimated reading time : min.
This article was automatically translated using DeepL. Therefore, inaccuracies may occur.

Three new TYPO3 v14 features make the integrator's everyday life easier: locale() expression for more direct conditions, page.title ViewHelper without custom provider and automatic XLIFF 2.x support.

After the first look at TYPO3 v14, here are three more innovations from the ChangeLog that make a difference in the day-to-day work of integrators. No revolutionary features, but solid improvements that simplify work and clean up code.

1. locale() expression: Direct access to language information

Until now, you had to access the locale in TypoScript conditions with siteLanguage("locale"). This works, but is cumbersome. TYPO3 v14 introduces a new expression: locale().

This gives you direct access to the locale object and all its public methods:

[locale().getName() == "en-US"]
 page.20.value = bar
[END]
[locale().getCountryCode() == "US"]
 page.30.value = foo
[END]
[locale().isRightToLeftLanguageDirection()]
 page.40.value = bar
[END]

This works not only in TypoScript conditions, but also in the site configuration, for example with form field variants:

variants:
  -
    identifier: language-variant-1
    condition: 'locale().getName() == "en-US"'
    label: 'First name'

What this means: Your code becomes more readable and direct. Instead of detours via siteLanguage(), you have type-safe access to locale information. This makes the code easier to maintain, especially for multilingual sites with complex conditions.

2. fluid page.title ViewHelper: Set page titles from templates

Anyone who builds Extbase plugins with detail pages knows the problem: you want to set the page title dynamically - for example with the name of the data record displayed. Previously, you had to implement your own page title provider for this.

This changes with the new <f:page.title> ViewHelper:

<f:page.title>{item.title}</f:page.title>
<h1>{item.title}</h1>
<p>{item.description}</p>

The ViewHelper also works with static content:

<f:page.title>About Us - Company Information</f:page.title>
<h1>About Us</h1>
<p>Welcome to our company...</p>

What this means: A common task becomes much easier. No more custom page title providers for every use case. The ViewHelper integrates seamlessly into TYPO3's existing page title provider system and respects configured priorities.

Especially useful for Extbase extensions with many detailed views, where each page needs an individual title.

3 XLIFF 2.x support: Modern translation formats without detours

TYPO3 now supports XLIFF 1.2 and XLIFF 2.x in parallel. The XLIFF loader automatically recognizes which version is being used and parses accordingly. No configuration necessary, both formats work transparently side by side.

XLIFF 2.x uses a more modern structure with <unit> and <segment> elements instead of the old <trans-unit> blocks. For you as an integrator, this means that your translation tools work better and TYPO3 automatically decides which format is available. You don't have to change anything.

What this means: Existing XLIFF 1.2 files will continue to work without any changes. New projects can use the more modern XLIFF 2.x standard. More importantly, compatibility with modern translation tools and services is improved, as many have already switched to XLIFF 2.0.

Strategy behind the features

These three innovations show a clear trend:

  • TYPO3 reduces unnecessary complexity in the day-to-day work of integrators
  • Modern standards are supported without breaking changes
  • Code becomes more readable and maintainable

Version 14 is still under development, but the direction is right. Anyone planning new projects in the medium term should keep these developments in mind.

How to stay informed

The TYPO3 v14 ChangeLog is growing continuously. I continue to filter out the features that are strategically relevant for integrators and present them here in the blog.

If you want to receive these updates directly, subscribe to my TYPO3 newsletter. There you will receive the most important new features in a compact format and without any noise.

And if you want to learn TYPO3 14 from scratch: I'm working on the TYPO3 Complete Course, which is updated with every new version. Locale Expressions, Fluid ViewHelper, XLIFF 2.x and everything else that v14 brings. Join the waiting list to secure the discounted introductory price.


Sources & Links

Feature #107105 - Introduce expression for accessing site locale

Feature #107358 - Introduce Fluid page title ViewHelper

Feature #107710 - Support for XLIFF 2.x translation files

Back

Comments under articles are disabled. If you have a question or addition, please send me an e-mail.

Hi, I'm Wolfgang.

I have been working with TYPO3 since 2006. Not in theory, but in real projects with real deadlines. I've probably had the problems you're having three times already.

At some point, I started putting my knowledge into video courses. Not because I like being in front of the camera, but because I kept hearing the same questions over and over again. There are now hundreds of videos. Every single one was the result of a specific question from a specific project.

What makes me different from a YouTube tutorial: I not only know the solution, but also the context. Why something works. When it doesn't work. And which mistakes you can avoid because I've already made them.

As a member of the TYPO3 Education Committee, I make sure that the certification exams are kept up to date. What is tested there flows directly into my courses.