# Portal and email component translations

**URL:** <https://forum.ghost.org/t/portal-and-email-component-translations/19144>\
**Category:** Ideas\
**Tags:** 🚢-shipped\
**Created:** [December 29, 2020, 3:49pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144 "2020-12-29T15:49:47Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![bastien](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/bastien/32/40675_2.png) [@bastien](https://forum.ghost.org/u/bastien)\
**Post date:** [August 16, 2022, 11:33am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/22 "2022-08-16T11:33:55Z")

</div>

- comment portal translation !

---

<div class="post-metadata">

**Author:** ![DavidAbakan](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/davidabakan/32/19426_2.png) [@DavidAbakan](https://forum.ghost.org/u/DavidAbakan)\
**Post date:** [August 16, 2022, 1:49pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/23 "2022-08-16T13:49:02Z")

</div>

I switched from Substack to Ghost recently because it suits my need to evolve with innovative and creative tools. But not being able to translate the email templates and the few sections (comments, portal etc) is a blocking element, for those who communicate in another language than English to turn supporters into members and return a global coherence on our project. This feature is an absolute necessity.

---

<div class="post-metadata">

**Author:** ![andyfronius](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/andyfronius/32/16041_2.png) [@andyfronius](https://forum.ghost.org/u/andyfronius)\
**Post date:** [August 18, 2022, 2:01pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/24 "2022-08-18T14:01:03Z")

</div>

I second this: being able to translate the portal, transactional emails and the comments section is the most needed feature for our project.

---

<div class="post-metadata">

**Author:** ![satonotdead](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/satonotdead/32/33666_2.png) [@satonotdead](https://forum.ghost.org/u/satonotdead)\
**Post date:** [August 23, 2022, 3:26am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/25 "2022-08-23T03:26:05Z")

</div>

Pro version is the same? I really don’t get that kind of things in teams and projects like Ghost.

I mean, they are from all the world, not only from US.

---

<div class="post-metadata">

**Author:** ![PixelzFairy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pixelzfairy/32/32467_2.png) [@PixelzFairy](https://forum.ghost.org/u/PixelzFairy)\
**Post date:** [August 24, 2022, 7:01pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/26 "2022-08-24T19:01:16Z")

</div>

I can help with Czech and Dutch if needed 🙂 !

---

<div class="post-metadata">

**Author:** ![Starlight](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Starlight](https://forum.ghost.org/u/Starlight)\
**Post date:** [September 2, 2022, 8:38pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/27 "2022-09-02T20:38:16Z")

</div>

I’m thinking of starting my next blog using Ghost, but my audience isn’t English speaking. This is definitely required for Ghost to be widely adopted. I was surprised that the entire CMS was not translatable. Apps should be designed with i18n in mind.

---

<div class="post-metadata">

**Author:** ![axbom](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/axbom/32/19578_2.png) [@axbom](https://forum.ghost.org/u/axbom)\
**Post date:** [September 15, 2022, 9:05am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/28 "2022-09-15T09:05:24Z")

</div>

Upvoting this, but also: is anyone using a workaround/hack to solve any of the translation issues for system emails today (before it’s solved))? Would be fantastic to just have a list of the files that need translation and the paths to these. I’m aware they’d be replaced on updates.

---

<div class="post-metadata">

**Author:** ![satonotdead](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/satonotdead/32/33666_2.png) [@satonotdead](https://forum.ghost.org/u/satonotdead)\
**Post date:** [September 25, 2022, 2:07pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/29 "2022-09-25T14:07:00Z")

</div>

Stills without a solution or workaround.

That´s really bad.

---

<div class="post-metadata">

**Author:** ![Arcastar](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/arcastar/32/18259_2.png) [@Arcastar](https://forum.ghost.org/u/Arcastar)\
**Post date:** [November 14, 2022, 8:51pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/30 "2022-11-14T20:51:59Z")

</div>

Any advance or tip? Still having too many troubls to get content on spanish

---

<div class="post-metadata">

**Author:** ![cyberadrien](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cyberadrien/32/20258_2.png) [@cyberadrien](https://forum.ghost.org/u/cyberadrien)\
**Post date:** [November 18, 2022, 5:07pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/31 "2022-11-18T17:07:49Z")

</div>

I think also translating the default comment space would be a good thing.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [November 18, 2022, 9:58pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/32 "2022-11-18T21:58:29Z")

</div>

The Ghost team is apparently working on it! [Hacktoberfest Project: i18n for Portal, Member emails, comments-ui & SodoSearch](https://forum.ghost.org/t/hacktoberfest-project-i18n-for-portal-member-emails-comments-ui-sodosearch/33062)

---

<div class="post-metadata">

**Author:** ![cyberadrien](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cyberadrien/32/20258_2.png) [@cyberadrien](https://forum.ghost.org/u/cyberadrien)\
**Post date:** [November 19, 2022, 11:36am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/33 "2022-11-19T11:36:05Z")

</div>

Thank you for the news, I hadn’t seen that 😅

---

<div class="post-metadata">

**Author:** ![D\_AL](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@D\_AL](https://forum.ghost.org/u/D_AL)\
**Post date:** [July 22, 2022, 11:19am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/34 "2022-07-22T11:19:14Z")

</div>

How to translate introduced last weeks Ghost Search?

---

<div class="post-metadata">

**Author:** ![Taxick](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/taxick/32/10960_2.png) [@Taxick](https://forum.ghost.org/u/Taxick)\
**Post date:** [July 23, 2022, 11:36am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/35 "2022-07-23T11:36:42Z")

</div>

Hi 🙂

I also need a way to translate “Ghost Native Search”

// Thomas - [https://www.futurenode.dk](https://www.futurenode.dk)

---

<div class="post-metadata">

**Author:** ![Gustavo\_Papasergio](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gustavo_papasergio/32/9019_2.png) [@Gustavo\_Papasergio](https://forum.ghost.org/u/Gustavo_Papasergio)\
**Post date:** [July 23, 2022, 3:59pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/36 "2022-07-23T15:59:24Z")

</div>

I´m in ✋

Ghost search and subscription form.

---

<div class="post-metadata">

**Author:** ![D\_AL](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@D\_AL](https://forum.ghost.org/u/D_AL)\
**Post date:** [July 26, 2022, 11:15am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/37 "2022-07-26T11:15:32Z")

</div>

As I see search is loading from remote repository UNPKG.  
Placeholder are in JS file.

Is it possible to replace source to load search from local library?

---

<div class="post-metadata">

**Author:** ![oldbackbonecabalist](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@oldbackbonecabalist](https://forum.ghost.org/u/oldbackbonecabalist)\
**Post date:** [August 1, 2022, 12:28pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/38 "2022-08-01T12:28:25Z")

</div>

It’s pretty easy to localize the theme. You just need to create a new theme and edit it.

[Translating the subscription modal is a little more involved](https://forum.ghost.org/t/membership-modal-translation/25921).

How to translate/localize the search function? The prompt “Search posts, tags, and authors”, the “No matches found” info, etc?

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [September 16, 2022, 10:26pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/39 "2022-09-16T22:26:32Z")

</div>

This is _super_ hacky, but it seems to more or less work:

```auto
<a href="#!" class="gh-search" onclick="setTimeout(function(){document.getElementById('sodo-search-root').querySelector('iframe').contentWindow.document.querySelector('input').placeholder = 'Your placeholder text'},200)" data-ghost-search>Search</a>

```

I have asked about a better way to detect when sodo search is triggered over here:

> [@Is there a way for themes to call a function when sodo search is activated?](https://forum.ghost.org/t/is-there-a-way-for-themes-to-call-a-function-when-sodo-search-is-activated/32812):
>
> I am trying to change the placeholder text in the search input with: document.getElementById("sodo-search-root").querySelector("iframe").contentWindow.document.querySelector("input").placeholder = "New placeholder text" … but as far as I can tell these elements don’t exist at the time of window.onload. Is there a built-in way to call a function when search is opened that I am missing — or should I add my own event listeners for when the search button is clicked / ctrl+k is pressed? Thanks!

---

<div class="post-metadata">

**Author:** ![Reseal4115](https://avatars.discourse-cdn.com/v4/letter/r/8491ac/32.png) [@Reseal4115](https://forum.ghost.org/u/Reseal4115)\
**Post date:** [December 30, 2022, 10:05am UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/40 "2022-12-30T10:05:13Z")

</div>

Hi @curiositry . I would also like to customize the hard-coded placeholder text of Search bar.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/9/d/9d058d98fa7d00d5f39871f37ec42711d1bd020f.png)

How do I use your script exactly? Is it a code injection? At the header?

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![curiositry](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/curiositry/32/1084_2.png) [@curiositry](https://forum.ghost.org/u/curiositry)\
**Post date:** [December 30, 2022, 8:15pm UTC](https://forum.ghost.org/t/portal-and-email-component-translations/19144/41 "2022-12-30T20:15:30Z")

</div>

@Reseal4115 The snippet I posted is a link to activate search, which would go in your header or wherever you want the “search” link or icon to be, with javascript in onclick=“…” that adjusts the placeholder text.

If the theme you are using already has a search link, you should be able to just add the onclick property from my snippet to the search element in your theme.

My example was intended to be pasted into the the theme files. But you could also create an element with javascript, and do it all with code injection (or just add the onclick event to an existing element via code injection).

[Previous page](https://forum.ghost.org/t/portal-and-email-component-translations/19144.md?page=1)

[Next page](https://forum.ghost.org/t/portal-and-email-component-translations/19144.md?page=3)
