Ghost.org

Localize your Ghost.org website and make it multilingual.

Nina avatar
Written by Nina
Updated over a week ago

Ghost is an Open Source blogging and publishing platform.

You can localize your Ghost blog and let readers around the world view your content in their native language using Transifex Live. Below, you'll find instructions for translating your Ghost blog.


Getting the Transifex Live JavaScript Snippet

Before you can use Transifex Live, you must first install the Transifex Live JavaScript snippet on your site. To do this, following the instructions here.


Installing the Live snippet

Once you've got the Live snippet, the next step is to install it in Ghost:

  1. From the Ghost dashboard, click Write a Post to enter your blog.

    ghost-1.png#asset:2013

  2. Next, navigate to SettingsLabs → and check the box at the bottom to enable code injection.

    ghost-2.png#asset:2014

    A new Code Injection tab will appear above the Labs tab.

  3. In the Code Injection tab, paste your Transifex Live JavaScript snippet into the document head section.

    ghost-3.png#asset:2015

  4. Click Save at the top right, and you're on to the next step!


Saving content, translating, and publishing

Now that Transifex Live is embedded in your page, you can use Transifex Live to save content to Transifex, translate in context, and publish translations on the fly.


Handing dynamic content

Dynamic content like dates, times, and counters (e.g., # of articles, # of comments, etc.) should not be translated. When approving phrases in Transifex Live, be sure to ignore these types of non-translatable dynamic content. If your platform lets you edit the theme, you can mark elements of your pages as non-translatable.

To learn how, click here.


Continue Reading

Did this answer your question?