Translator Docs SiteTran Tools and Good Translation Practices
How To Preview Translations Before The Language Is Live
How To Preview Translations Before The Language Is Live
Last updated: a month ago
1 minute read
Michael Litvak
Translator Liason at SiteTran

ALL ARTICLES

The Site/Project Manager has the ability to turn a language live, customers won't be able to see the translations until a language is pushed live. However, there's a quick and easy way to preview your translations while your language is not.

Simply follow these steps:

  1. Open the website of the customer you're translating.
  2. Right-click on the website and choose "Inspect".
  3. In the newly opened inspection window, choose "Console".
  4. Click on the text box and copy and paste the following code snippet into it:
  5. sitetran.cookie_write("prod_json_filename", "dev.json", "." + sitetran.get_parent_domain(window.location.hostname));

  6. Press Enter
  7. Refresh the page

If you follow those steps, you will be in dev mod. You will be able to choose the language you are translating into from the language dropdown. Click on it, and you will be able to see your work!
To exist dev mode, follow the same steps, but use the following code snippet:

sitetran.cookie_write("prod_json_filename", "prod.json", "." + sitetran.get_parent_domain(window.location.hostname));

Couldn't find what you were looking for?

In this article

Website Translation Made Easy