To modify the label text of a Reply button, go to Admin → Customize Text → /admin/customize/site_texts/js.composer.reply. However, there are two different translation keys used for the reply button: js.composer.reply for the composer reply button and js.topic.reply.title for the topic reply button. To find the correct translation key, use I18n.enableVerboseLocalizationSession() in the browser’s console or check the web inspector’s ‘info’ tab (latest Chrome browser). After making changes, save and reload the page to apply the changes. Note that clearing caches may be necessary for the changes to appear, as fyodorovich discovered. Omarfilip and simon provided helpful guidance on this process.
I want to modify the text of the “submit” button that is displayed beneath the message composer.
When the user hits “Reply” to a post the “submit” button beneath the composer is labelled “Reply”. I’d like to modify this but there are more than 50 text objects that include the word “reply.” Which text label do I modify?
There are two different translation keys used for the reply button. js.composer.reply is used for the reply button that you see when you open the composer. js.topic.reply.title is used for the reply button is displayed in the topic (the button that you click to open the composer.)
I have not memorized these translation keys. The way I found them was by entering I18n.enableVerboseLocalizationSession() into the console of my browser’s web inspector. After doing that, a number key will be added to all text items on Discourse that can be customized. You can use that number to find the correct translation key. That approach is outlined here: Find a translation key with verbose localization.
On the latest Chrome browser, the translation key names are displayed in the web inspector’s ‘info’ tab.