Desenvolvendo Plugins Discourse - Parte 3 - Adicionar configurações personalizadas do site

You simply need to add a

config/locales/server.zh_CN.yml

file (and similar for any other locales you want to support) with the same English tokens but with language specific values and the plugin will use that instead of falling back to the English.

2 curtidas