Discourse Reply Button Labels

:information_source: Summary Translatable topic & post reply button labels
:hammer_and_wrench: Repository https://github.com/Lillinator/discourse-reply-button-labels
:question: Install Guide How to install a theme or theme component

Install this theme component

:woman_technologist:t2: Overview

The core Discourse topic and post reply buttons use the same string and it can be a bit unclear to inexperienced users what the different functionalities are:

Unfortunately, changing the label in Admin->Site Texts results in changing labels for both buttons.

This lightweight theme component appends a “to Topic” to the topic reply button and “to Post” to the post reply button, to make them clearer, and also allows changing and translation of the strings.

There are some included common locale files for multi-language forums for those that aren’t using AI translation.

To only use the Topic reply button string, simply delete any entry in the post_reply_append string component translation setting and save it.


:camera_flash: Screenshots

English

New nested floating Topic reply button!

French

Chinese (simplified)

Brazilian Portuguese

Russian

Arabic (RTL)


:gear: Settings

Theme component setting strings


:bulb: Note

This component only applies to desktop view for now; I may make a toggle to allow for the mobile topic post button text, but space is very limited in the mobile view footer UI.

17 לייקים

Thanks for noting!

Referring back to the recent posts in the nested replies topic, and your keen observation:

I share the same concern that @ToddZ noted: the button labeled simply Reply needs to be more specific.

Some users may assume that Reply to Topic is just a rephrasing of Reply, rather than understanding that the two actions are different.

As a moderator, I gave up years ago trying to fix cases where a user clicked the wrong reply button. With nested replies, I can see that same workload returning again.

לייק 1

A small detail that matters, thanks @Lilly :+1:

2 לייקים

(post deleted by author)

לייק 1

@Lilly

Thank you for pointing out something I am sorry to let slip by.

My bad, the word should be “noting” as in bring attention, will fix.

2 לייקים

Wow, one letter makes a big difference :sweat_smile:

One could use any text that seems more precise… I used “Reply to main Topic” in hopes of being extra clear. “Add new comment” might be another option? (Though if users just don’t understand forum vocabulary, it’s probably an uphill battle.)

2 לייקים

if you guys want the ability to change both buttons, you can just ask lol

i will have a look at this after i sleep some more.

3 לייקים

Yes.

It would be nice to have an option to customize the labels for both buttons.

3 לייקים

component has been updated to allow changing both the post and topic reply button labels.

2 לייקים

Quite busy I see.


image

לייק 1

i have added the floating topic reply button in the nested topic views now (sorry i missed it earlier) :slight_smile:

please update the component

you might find the “reply to post” buttons a bit tedious in nested view so just keep the string field blank if you don’t want the extra button noise.