Ghost theme translator - CLI tool to generate theme language file

Bump. I am using the “journal 1.0.0” theme. Set language to Spanish. Now dates are using Spanish abbreviations but everything else is English only. The theme might be in Spanish even if most/all of my writing is in English. Or any other language. I just happen to have a Spanish-language domain name. Want to know if it works if I set the language.

Glancing at front page of published site, look for terms that should be translated. Use grep tool to find them in the index file for the theme. There is a {{reading_time}} helper, but no {{t}} helpers for the indicated terms.

[ghost@blanco journal]$ pwd
/home/ghost/ghost/content/themes/journal
[ghost@blanco journal]$ grep -En  "Latest|More issues|About|Topics|read" index.hbs
11:                                <span class="gh-card-date">Latest — <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMM YYYY"}}</time></span>
19:                            <span class="gh-card-duration">{{reading_time}}</span>
34:                <h2 class="gh-section-title">More issues</h2>
57:                    <h2 class="gh-section-title">About</h2>
113:                        <h3 class="gh-section-title">Topics</h3>
[ghost@blanco journal]$ 

Looks like the Journal theme is not translation ready. To translate the string / text of any Ghost theme those string should be wrapped within {{t}} helper properly. It is the task of the theme developer. If you want to make your theme translatable then download the theme, find each hardcoded string in each file and then use {{t}} helper properly. After completing the edit, upload the theme again to your site.

See this link to understand and know how to use the translation helper in your theme. Ghost Handlebars Theme Helpers: translate

Now I get to thinking. Any “translatable” theme items for navigation, titles, categories and so forth really ought to be translated automatically according to the reader’s browser preferences or locale.

You may want to take a look at Ghost’s weglot integration (Official Ghost + Weglot Integration) for that, @justinacolmena

A lot of work has gone into making Ghost work well in any one language, but it doesn’t have multi-language support.