In this article, you will learn how to hide translations on your website. Our publish/unpublish feature allows you to disable the translations displayed for your visitors when revising your website.
How the unpublish option works
When you set up Weglot, all added languages are published by default. This means visitors can immediately access the translated pages.
Our “unpublish” option allows you to ensure that visitors won’t see those translations until you switch the language back to "publish" mode.
This feature is useful when you want to edit translations before making them publicly visible.
How to switch to unpublish Mode
Go to your Weglot Dashboard > All projects > Select a project > Languages
Click on the "…" button on your chosen language and click on the "Unpublish" option:

You can choose to unpublish for one language or for all languages.
You'll see the language status switch to “Unpublished”:

How to display translations while in Unpublished Mode
Even if a language pair is set to unpublished, you can still display its translations by adding this query at the end of your URL:
?weglot-private=1
Make sure to add it directly after the URL with no spaces or extra characters. For example:
yourwebsite.com?weglot-private=1
When using this URL, the Language Switcher will also be displayed, even if all languages are set to private.