Skip to main content
Skip table of contents

Link to a Specific Language

Question

I want to provide a specific url for one of my pages in a specific language. Is it possible to provide the target language in the URL? 

Answer

You can link to a page translated with Scroll Translations by adding the "scmLanguageKey=<languageCode>" parameter to the URL. This can be done with Pretty URLs or with the corresponding "viewpage.action" URL. With Pretty URLs the required parameters have to be added manually, whereas for the viewpage URL you only need to retrieve the link.

If you use the viewpage URL as a base, follow the steps below:

  1. Navigate to the page you want to link to
  2. Click the language picker
  3. Secondary (right) click the desired target language
  4. Choose Copy Link/Copy Link Address

Now you are done. Try pasting the URL in your browser and navigate to the translated page.

Here's an example of how the link might look. For this specific URL, German is defined as the target language:

http://<baseurl>/confluence/pages/viewpage.action?pageId=<1234>&scmLanguageKey=de


If you use Confluence's Pretty URL as a base, follow these steps:

  1. Start with following the steps above to retrieve the viewpage URL
  2. Copy the scmLanguageKey parameter and its value from the viewpage URL
  3. In the browser address field, copy the URL of the page you want to link to
  4. Add a question mark "?" at the end of the URL as a separator followed by the scmLanguageKey parameter and its language value

Well done! Now, paste the URL in your browser and navigate to the translated page.

Here's an example of how the link might look. For this specific URL, English is defined as the target language:

http://<baseurl>/confluence/display/<spacekey>/<page title>?scmLanguageKey=en


If you're using the page key functionality in Scroll Versions, you can also link directly to translated pages by appending the URL parameter lang=<languageCode> behind your page key in the url. For example: ...URL.../display/_PK/VSN10/PUB143?lang=de

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.