Translations
How to add, edit or delete a translated document.
You can add one or more translations to any published document on GOV.UK, apart from fatality notices and statistical data sets, in any of 63 languages, including:
- all the official languages used by the Foreign, Commonwealth and Development Office
- Welsh for UK documents
If you need to add translated text, you must use the translation tool. Do not add translated text on the same page as the English version.
The default language attribute on the document page is always set to English. If you add translated text to the English page, rather than using the translation tool, it creates problems for users with assistive technology. It will be a WCAG (Web Content Accessibility Guidelines) language failure.
You must create and save the document in English before you can add a translation.
-
Find the document you want to add a translation to. On the edition summary page you’ll see a ‘Translations’ subheading. Any translations added to the page are listed here.
-
Select the ‘Add translation’ link underneath the heading.
-
Select the language you want from the drop-down list and select ‘Next’.
-
You’ll now see a page with mandatory title, summary and body fields. Add the translated text to the fields and click save.
-
You should now see under ‘Translation’ the language and title of your translation.
-
To check the page, open the ‘Preview translated pages’ panel under the ‘Preview’ heading. All the translated versions you’ve created will appear here. Select the one you want to preview and it will open in a new window.
-
Submit the page for review by clicking on the ‘Submit for 2nd eyes’ button. Another editor can now check your page and either publish or send it back to you to correct.
If you’re translating into a language that is written from right to left
There is a different way to format link markdown if you’re translating content into a language that reads from right to left (for example Arabic or Urdu).
The URL must come before the link text. For example, (URL)[link text]
rather than [link text](URL).
Example
In English, you’d format the link markdown like this:
[Renew your tax disc](/tax-disc).
For the Arabic translation, you’d format the link markdown like this:
(/tax-disc)[قم بتجديد قرص الضرائب الخاص بك].
Add a world news story only in a foreign language
You can add a world news story in only a foreign language if you do not want to create an English language version.
If you do add it this way, you can only add it in one foreign language, and cannot add subsequent translations after.
-
Select the ‘Documents’ tab in Whitehall publisher and search for your document.
-
Click ‘View’ next to the document you want to edit.
-
You’ll see a list of translations under the ‘Translations’ subheading. Click on the ‘Edit’ button for the translation you want to edit.
-
Make your edits to the text and click ‘Save’.
-
To check the page, open the ‘Preview translated pages’ panel under the ‘Preview’ heading. All the translated versions you’ve created will appear here. Select the one you want to preview and it will open in a new window.
-
Submit the page for review by clicking on the ‘Submit for 2nd eyes’ button. Another editor can now check your page and either publish or send it back to you to correct.
-
Select the ‘Documents’ tab in Whitehall publisher and search for your document.
-
Click ‘View’ next to the document you want to edit.
-
You’ll see a list of translations under the ‘Translations’ subheading. Click on the ‘Delete’ link next to the translation you want to delete.
-
The next page will ask ‘Are you sure you want to delete this translation?’ Click ‘Delete translation’.
The page will be deleted immediately.
If you add a translation to a document with an attachment, you must also add a translated version of the attachment in the same language.
You must not add foreign language attachments to the English page of the document. Each attachment must be attributed to the relevant translated version of the page. You can see a list of the translated versions on the edition summary page under the ‘Translations’ subheading.
To upload the attachment in English, follow the instructions for uploading a single document. On the ‘Add file attachment’ page, make sure you select English in the ‘display language’ dropdown menu.
You then add the foreign language attachment for each translation of the page.
-
On the edition summary page you’ll see an ‘Attachments’ subheading. Underneath it will list any attachments already on the page.
-
Select the ‘Modify attachments’ link under the heading.
-
Select the attachment type you want to upload.
-
Fill in the title of the document, in the language it’s been translated to. If you’re adding a document or publication, use its official title (translated into the relevant language).
-
In the ‘display language’ dropdown menu, select the appropriate translation page this attachment will appear on.
-
Fill in the rest of the fields, if relevant. These ‘metadata’ fields are searchable and may help users find your document (for example, reference numbers for Freedom of Information requests).
-
Click the ‘Choose file’ button to find and select your attachment.
-
If your attachment is fully accessible, select the box indicating this. If it’s not, users will see a box with information about requesting the document in an alternative format.
-
Click ‘Save’.
When deciding whether to translate departments and policy content, follow your Welsh language scheme and look for evidence of a user need. This can include:
- analysis of Welsh-language search terms on GOV.UK and search engines
- use of relevant and existing Welsh-language government transactions
- calls to Welsh-language contact centres
- requests for translations from Welsh-language speakers
Read the policy about Welsh language on GOV.UK.
-
Select the ‘New document’ tab from the dashboard.
-
Click ‘Document collection’ or ‘Consultation’ and click ‘Next’.
-
Tick the box next to ‘Create a foreign language only document collection or consultation’.
-
Choose the language from the drop down list.
- Complete all the required fields.
- Click ‘Save’.
- Click ‘Preview on website’ to check the page.
- When you’re happy the page is ready to publish, click ‘Submit for 2nd eyes’ so another editor can review the page and publish it.
- If you’ve also created an English version of the document collection or consultation, you should link it to the English version. You should also link the English version to the foreign version.
Change document collections or consultations to the correct language attribute
- Select the ‘Document’ tab from the dashboard.
- Locate the document collection or consultation you need to change.
- Select the title.
- Select ‘Edit draft’, or, if working on a published document, select ‘Create a new edition to edit’.
- Tick the box next to ‘Create a foreign language only document collection or consultation’.
- Choose the language from the drop down list.
- Click ‘Save’.
Link the foreign language version and the English version
- Select the ‘Documents’ tab.
- Locate the foreign language version.
- Select the title.
- Copy the last part (the relative path) of the Whitehall publisher URL, for example: /government/admin/consultations/1168326.
- Go to the English version of the document.
- Add the link to the foreign language version as a call to action at the top of the page, using this format: “[View this document collection in Arabic](link)".
Repeat the steps to link the English version to the foreign language version. If you have multiple translations, make sure all the translations are linked.