The Book of the Barracks

The Book of the Barracks

Share this post

The Book of the Barracks
The Book of the Barracks
How to make an automatic translate button for Substack

How to make an automatic translate button for Substack

Ben Green's avatar
Ben Green
May 22, 2023
∙ Paid
6

Share this post

The Book of the Barracks
The Book of the Barracks
How to make an automatic translate button for Substack
7
3
Share

Make your newsletters multilingual

Wouldn’t it be great if we were able to use the power of Google Translate (other translation services are available) to make our posts multilingual, and potentially reach a considerably bigger audience?

ins Deutsche übersetze

Well, it’s possible and here is one way of doing it.

I stole this image from https://nyuad.my.salesforce-sites.com/Events/NYUEventRegistration. I’m not convinced that they didn’t steal it from somewhere else. If they or a legit copyright holder wants me to take it down, let me know.

How to:

Start with the URL of your story. Unfortunately, there isn’t a built in way of doing this on Substack, so you’re going to have to hack it. You should know your own custom substack subdomain - mine is

https://thebarracks.substack.com

Get the URL for your post

The way to make a URL for your full post is usually (always?) to follow your subdomain with a slash-letter p-slash (/p/) combo, then the URLS-safe ttitle you gave your piece.

You make the URL-safe title by replacing a…

Keep reading with a 7-day free trial

Subscribe to The Book of the Barracks to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 The Pirate Ben
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share