How to change labels?


(a slightly fluffy latex coated steel ball) #1

Ok so I successfully installed discourse following the docker guide… was pretty easy actually :smile: ( 64bit Debian VPS )

Now I want to change some of the labels, so for example I want to change “+ Create Topic” to “+ Something Else”, as there seems to be language support I’m guessing there is an file somewhere with all the labelly type stuff… any pointers?

Also is there a quicker way of restarting the docker after you make changes than the ./launcher rebuild app command?

Many thanks

MB


(Bill Ayakatubby) #2

There’s a way to override specific language keys with a plug-in, but I’m not sure of the details. I know there’s a recent topic here that goes into it, but I can’t find it.


(Kane York) #3

I’m pretty sure that it works if you just add a new language file in the plugin, with the same folder hierarchy (.../config/locales/client.en.yml, after the plugin directory) and just redefine some keys.


(a slightly fluffy latex coated steel ball) #4

That sounds promising… I’ll write a how-to as I go along


(cpradio) #5

Already exists :smile:
https://meta.discourse.org/t/plugin-i18n-setup/9616?source_topic_id=19583