[[language-content-translate]]

=== Translating Content

[role="summary"]
How to translate a page into another language.

(((Content,translating)))
(((Translating,content)))

==== Goal

Translate the home page to Spanish.

==== Prerequisite knowledge

<<language-concept>>

==== Site prerequisites

* The Home content item must exist. See <<content-create>>.

* The core Content Translation module must be installed, and your site must
have at least two languages. See <<language-add>>.

* The _Basic page_ content type must be configured to be translatable. See
<<language-content-config>>.


==== Steps

. In the _Manage_ administrative menu, navigate to _Content_ (_admin/content_).

. Locate the home page. You can search for it by entering "Home" in the title
field.

. Select _Translate_ from the dropdown button in the row of the Home content
item. The page _Translations of Home_ appears.

. Click _Add_ in the row _Spanish_.
+
--
// Screenshot of the translations page for the Home page content item.
image:images/language-content-translate-add.png["Adding a content translation",width="100%"]
--

. Note that the user interface has switched to Spanish. To switch it back to
English, remove the first instance of _es_ in the browser's URL. For
example, if your URL looks like _example.com/es/node/5/translations/add/en/es_,
remove the _es_ that comes immediately after _example.com_.

. Fill in the fields as shown below.
+
[width="100%",frame="topbot",options="header"]
|================================
|Field name | Explanation| Value
|Title | Translated title of the page | Página principal
|Body | Translated body of the page |
Bienvenido al mercado de la ciudad - ¡el mercado de agricultores de tu barrio!
Horario: Domingos de 9:00 a 14:00. Desde Abril a Septiembre
Lugar: parking del Banco Trust número 1. En el centro de la ciudad
|URL alias > URL alias | Translated address of the webpage | pagina-principal
|================================

. Click _Save (this translation)_.

. Go to your site's home page to view the newly translated page.

==== Expand your understanding

* Follow the steps above to translate more content on your site.

* <<language-config-translate>>

// ==== Related concepts

==== Videos

// Video from Drupalize.Me.
video::https://www.youtube-nocookie.com/embed/TOalcUYD5zM[title="Translating Content"]

// ==== Additional resources


*Attributions*

Written by https://www.drupal.org/u/batigolix[Boris Doesborg].
