# Official Themes translation?

**URL:** <https://forum.ghost.org/t/official-themes-translation/38811>\
**Category:** Contributing to Ghost\
**Created:** [May 31, 2023, 8:00am UTC](https://forum.ghost.org/t/official-themes-translation/38811 "2023-05-31T08:00:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tebiscottieilmac](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tebiscottieilmac/32/18814_2.png) [@tebiscottieilmac](https://forum.ghost.org/u/tebiscottieilmac)\
**Post date:** [May 31, 2023, 8:00am UTC](https://forum.ghost.org/t/official-themes-translation/38811/1 "2023-05-31T08:00:27Z")

</div>

Hi guys, now that Portal is translated as well, is there a plan to translate official ghost theme as well?

---

<div class="post-metadata">

**Author:** ![tebiscottieilmac](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tebiscottieilmac/32/18814_2.png) [@tebiscottieilmac](https://forum.ghost.org/u/tebiscottieilmac)\
**Post date:** [June 8, 2023, 3:28pm UTC](https://forum.ghost.org/t/official-themes-translation/38811/2 "2023-06-08T15:28:05Z")

</div>

Is there anyone that agrees?

---

<div class="post-metadata">

**Author:** ![sergiovolt](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sergiovolt/32/14724_2.png) [@sergiovolt](https://forum.ghost.org/u/sergiovolt)\
**Post date:** [June 8, 2023, 4:03pm UTC](https://forum.ghost.org/t/official-themes-translation/38811/3 "2023-06-08T16:03:22Z")

</div>

You can do that by adding the translation helper `{{t}}` and a json file with your translations. You need to put your hand in the code, however, but a lot of themes are already adapted for this.

This resource is well documented here: [Ghost Handlebars Theme Helpers: translate](https://ghost.org/docs/themes/helpers/translate/)

---

<div class="post-metadata">

**Author:** ![tebiscottieilmac](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/tebiscottieilmac/32/18814_2.png) [@tebiscottieilmac](https://forum.ghost.org/u/tebiscottieilmac)\
**Post date:** [June 9, 2023, 6:50am UTC](https://forum.ghost.org/t/official-themes-translation/38811/4 "2023-06-09T06:50:11Z")

</div>

HI @sergiovolt i know you can do that, but than, if you are a GHOST PRO user, you need to sign up for the Creator tier so you can upload your own themes. I’m talking to make the Free theme available and ready to be used with translation features. Now that Portal is translated, it would be great to have those theme to be as well

---

<div class="post-metadata">

**Author:** ![yaizudamashii](https://avatars.discourse-cdn.com/v4/letter/y/e9bcb4/32.png) [@yaizudamashii](https://forum.ghost.org/u/yaizudamashii)\
**Post date:** [May 8, 2024, 8:13pm UTC](https://forum.ghost.org/t/official-themes-translation/38811/5 "2024-05-08T20:13:57Z")

</div>

The official guide does not have an example on how to translate subexpressions. I really need that. For an example, in the source theme, post-card.hbs, there is a display for author name

By {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}

How do I translate this span using translation? You really need to put examples.  
I want to do {{t “By {{author}}”}} or something along the lines, where the contents of {{author}} is {{#foreach authors}}{{#if @first}}{{name}}{{else}}, {{name}}{{/if}}{{/foreach}}  
“By {{author}}” needs to become “{{author}}著” for Japanese.
