• Documentation
  • Integrations
  • Ghost.org

Ghost.org

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. A sample can be found here.

Below, you'll find instructions for translating your Ghost blog.

Note

Before you begin, you must have a Transifex account and a project you will be associating with your Desk.com site. If you have not already done so, sign up for Transifex here.

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 gotten the Live snippet, the next step is to install it in Ghost:

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

    ghost-1.png#asset:2013

  • Next, navigate to Settings → Labs → 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.

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

    ghost-3.png#asset:2015

  • 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 nontranslatable dynamic content. If your platform lets you edit the theme, you can mark mark elements of your pages as nontranslatable. To learn how, click here.