Can we contribute informal versions of languages to React apps?

Hi there,

as we know, themes have some support for informal language, f.e. de-informal, fr-informal and de-CH-informal which is as of now present in the theme translations as just de-CH (btw clashing with the formal translations in i18n/locales/de-CH).

Now my question is, given that there are no files in the Repo to add portal, comments translations and such for them: Can we contribute to Ghosts react apps for de-informal and its informal buddies?


And for the long run: Are there any plans to somehow give us the power one day to create personal translations for the React apps? Or perhaps giving way for a limited number of versions that differ in tonality and wording, so users can ideally chose sth. that suits the tonality of their publication.

Best
Michael

You can always build a custom version of the apps with the desired translations. That’s the only option right now. (You can either download and find&replace or set up Ghost for development and follow the directions in (for example) apps/portal for how to build. Either way, then you’ll need to specify loading your custom version of portal. That can be done in the config file if you’re self hosting, or you can replace {{ghost_head}} with {{ghost_head exclude=”portal”}} and add a separate line that loads your custom version.

(I don’t work for Ghost Foundation. I do help shepherd translations across the finish line.)

Cathy, thanks a lot for these helpful pointers! Do you happen to know if building/loading partially custom versions of the apps may clash with updates of Ghost? Or can this be organized in a way where I can follow suit with future updates without too much of a hassle?

You’d want to fork the code on github and then regularly update your fork. Or if you’re patching the minified code, do that regularly.

Portal does change pretty regularly, so it’d be important to keep your version of portal and ghost sync’d.

1 Like