Translations and URLs

URLs for translated pages

The language picker on SF.gov supports human translations for Spanish, Traditional Chinese, and Filipino.

When you publish a page in another language, Drupal will automatically add a language code to the URL:

Language

Code

Example

Language

Code

Example

Spanish

/es/

SF.gov/es/rest-of-title-of-page

Traditional Chinese

/zh-hant/

SF.gov/zh-hant/rest-of-title-of-page

Filipino

/fil/

SF.gov/fil/rest-of-title-of-page

Editing a page with translations

Adding content in English will display that content in English on translated pages, until that content is translated again.

Reverting a page in English will revert all translations too.