# How can I integrate multi-language feature in my Ghost blog?

**URL:** <https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225>\
**Category:** Developer help\
**Created:** [January 8, 2020, 6:01am UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225 "2020-01-08T06:01:24Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhaval\_Prajapati](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dhaval_prajapati/32/5750_2.png) [@Dhaval\_Prajapati](https://forum.ghost.org/u/Dhaval_Prajapati)\
**Post date:** [January 8, 2020, 6:01am UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/1 "2020-01-08T06:01:24Z")

</div>

I am trying to integrate multi-language feature in my existing Ghost blog but I don’t see anything working there. My blog works as a this URL format: [domain.com/insight/](http://domain.com/insight/). I already tried the procedure from this url: [https://ghost.org/tutorials/multi-language-content/](https://ghost.org/tutorials/multi-language-content/).

After doing the process as said in the tutorial when I open url eg. domain/insight/de/ then my home page content don’t show. Also when try to open post for de language([domain.com/insight/de/post-url](http://domain.com/insight/de/post-url)) it redirects me to the main post url.

- Ghost blog version 3.2.
- I am using Casper theme.

I appreciate any help to make it work. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![sampumon](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sampumon/32/5358_2.png) [@sampumon](https://forum.ghost.org/u/sampumon)\
**Post date:** [January 8, 2020, 12:29pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/2 "2020-01-08T12:29:19Z")

</div>

> [@Dhaval\_Prajapati](#):
>
> I already tried the procedure from this url: [https://ghost.org/tutorials/multi-language-content/](https://ghost.org/tutorials/multi-language-content/)

The `routes.yml` procedure [does not filter pages](https://github.com/TryGhost/Ghost/issues/11353), even though it says so in the url 😅

Ghost is also missing other multi-language features, such as linking between same content but different language, and multilang navigation.

I hacked these with javascript; in `settings > code injection > ghost_head` I have a sitemap which needs manual updating:

```javascript
var sitemap = {
	index: {
		fi: "/",
		en: "/en/",
	},
	uneton: {
		fi: "/uneton/",
		en: "/en/uneton/",
	},
	…
}

```

…and then I [hack the navigation](https://github.com/Viiksipojat/uneton48.com/blob/77313a66527eaffb408c2daf66e1458123e54af0/assets/js/vxxb.js#L41-L68).

If you want /en/ or /de/ in page url, you need full manual routes:

```yml
routes:
  /en/docs/:
    template: post
    data:
      post: page.docs_en

```

Good luck 😜

---

<div class="post-metadata">

**Author:** ![Dhaval\_Prajapati](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dhaval_prajapati/32/5750_2.png) [@Dhaval\_Prajapati](https://forum.ghost.org/u/Dhaval_Prajapati)\
**Post date:** [January 9, 2020, 7:42am UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/3 "2020-01-09T07:42:13Z")

</div>

Thank you for the quick response.

So I will need to route everything manually? I have tag pages also, it will also need to route manually for different languages? I want to integrate 13 languages, do you think it will be possible?

---

<div class="post-metadata">

**Author:** ![sampumon](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sampumon/32/5358_2.png) [@sampumon](https://forum.ghost.org/u/sampumon)\
**Post date:** [January 9, 2020, 11:37am UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/4 "2020-01-09T11:37:40Z")

</div>

Uh-oh, in theory it is possible (to manually route multiple languages), but in practise Ghost is not ready for this 😔

You could add everything as a `post`, then automatic routes work as documented. Or we’ll wait and hope it gets fixed to work with pages, too 😌

---

<div class="post-metadata">

**Author:** ![Dhaval\_Prajapati](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dhaval_prajapati/32/5750_2.png) [@Dhaval\_Prajapati](https://forum.ghost.org/u/Dhaval_Prajapati)\
**Post date:** [January 9, 2020, 12:19pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/5 "2020-01-09T12:19:01Z")

</div>

Thanks friend, I am leaving that as it is for now.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [January 27, 2020, 12:46pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/6 "2020-01-27T12:46:51Z")

</div>

Hey all 👋. We’ve just spent some time updating our tutorial on using Ghost in different languages and in multiple languages. Any feedback you have is welcome 🙌  
[https://ghost.org/tutorials/multi-language-content/](https://ghost.org/tutorials/multi-language-content/)

---

<div class="post-metadata">

**Author:** ![trisul](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/trisul/32/7501_2.png) [@trisul](https://forum.ghost.org/u/trisul)\
**Post date:** [April 23, 2020, 7:25pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/7 "2020-04-23T19:25:32Z")

</div>

David,

how about saying some more on navigation in multi-language sites?

Thnx

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [April 27, 2020, 12:36pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/8 "2020-04-27T12:36:49Z")

</div>

Could you be more specific? Do you mean having translated navigational items in your site?

---

<div class="post-metadata">

**Author:** ![trisul](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/trisul/32/7501_2.png) [@trisul](https://forum.ghost.org/u/trisul)\
**Post date:** [April 27, 2020, 12:49pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/9 "2020-04-27T12:49:39Z")

</div>

Yes, I would need to translate the navigational items, while retaining their equivalences … i.e. the translated Home acts like home.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [April 27, 2020, 12:55pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/10 "2020-04-27T12:55:59Z")

</div>

Best way to manage that would be with custom templates and custom partials. You could create a `nav-fr.hbs` partial for example and list all your custom nav items in there.

---

<div class="post-metadata">

**Author:** ![trisul](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/trisul/32/7501_2.png) [@trisul](https://forum.ghost.org/u/trisul)\
**Post date:** [April 27, 2020, 1:35pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/11 "2020-04-27T13:35:10Z")

</div>

Thanks David,

I’ll play around with that. It requires the translations to be hardcoded, but it’s simple.

---

<div class="post-metadata">

**Author:** ![Fluxy](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@Fluxy](https://forum.ghost.org/u/Fluxy)\
**Post date:** [March 9, 2021, 3:10pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/12 "2021-03-09T15:10:10Z")

</div>

There’s a 3rd party service called [Pressbase.io](http://Pressbase.io) that has multiple language support out of the box.  
It’s a 3rd party SaaS built on the open source Ghost 3 software.

---

<div class="post-metadata">

**Author:** ![nehemiekoffi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/nehemiekoffi/32/23071_2.png) [@nehemiekoffi](https://forum.ghost.org/u/nehemiekoffi)\
**Post date:** [February 10, 2023, 10:38pm UTC](https://forum.ghost.org/t/how-can-i-integrate-multi-language-feature-in-my-ghost-blog/11225/13 "2023-02-10T22:38:04Z")

</div>

**Here is a workaround to achieve that :**

1. Create a template file `hello_world.hbs`
2. Update the `routes.yaml` file as follow

```yaml
/hello-world/:
    template: hello_world # referencing hello_world.hbs
    data: page.hello-world # You should create a page from admin that have slug : hello-world

/en/hello-world/:
    template: hello_world # referencing hello_world.hbs
    data: page.hello-word-en # You should create a page from admin that have slug : hello-world-en

```

1. Write the code of the page in your hello\_world.hbs and you can display the content of the page by using the `{{#post}}{{/post}}` block

🤗 Voila! You have your multi-language pages with same slug
