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 |
---|---|---|
Spanish |
| SF.gov/es/rest-of-title-of-page |
Traditional Chinese |
| SF.gov/zh-hant/rest-of-title-of-page |
Filipino |
| 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.