Translations

Translations

This page is served under the language of its url. Its wording comes from the yml files, translated with translations:translate-files; the articles below are entities whose #[Translatable] fields are translated on first read and stored.

Welcome to the translation demo

FieldSourceRead in this language
Title Welcome to the translation demo Welcome to the translation demo
Summary This article is written in English. Switch the language: its title and summary are translated the first time they are read, then served from the database. This article is written in English. Switch the language: its title and summary are translated the first time they are read, then served from the database.

Placeholders survive translation

FieldSourceRead in this language
Title Placeholders survive translation Placeholders survive translation
Summary Hello %name%, you have {count} new messages. Parameters like these are hidden from the engine and put back afterwards. Hello %name%, you have {count} new messages. Parameters like these are hidden from the engine and put back afterwards.

Markup is kept as it is

FieldSourceRead in this language
Title Markup is kept as it is Markup is kept as it is
Summary A sentence with bold words and a subtle emphasis, whose tags never reach the engine. A sentence with bold words and a subtle emphasis, whose tags never reach the engine.