- go to the github repository of the plugin, e. g. discourse-canned-replies.
/config/localesfolder of the plugin. you should see some
the client file is for the text parts in client side and is more important to be translated. texts in server file are only shown to admins.
open the English yml file, as we want to first translate this file.
create new filebutton.
copy the text in
client.en.ymlinto the new file.
change the first line from
ento the proper locale name in discourse. e.g. I want to translate it to Persian, the correct locale name would be
now translate the strings between quotations
"to your preferred language.
save the file into another file named
client.fa.yml, if you’re translating it into German the name would be something like this
fill out the information for the file like:
Persian translation of client.en.yml.
then you should add a pull request, and wait for the plugin owner to accept it.
BTW, there are other topics which show the way for this, but as I didn’t find it in howto just added my own experience: