Request: Allow easier customization of "outdated browser" message

AI-generated summary

A discussion is ongoing about customizing the “outdated browser” message on Discourse forums. fysics suggests making the message editable from /admin/site_contents, rather than requiring edits to client.en.yml. Proposed customization options include changing the link to a different site (e.g., whatbrowser.org) and adding the community name to the message. riking notes that plugin developers can override specific strings in client.en.yml by including a locale file in their plugin. Meanwhile, codinghorror has shortened the default message to make it more concise.

Continuing the discussion from Unable to change browser update message string:

I’m suggesting that this text should be customizable from /admin/site_contents.

Currently, it says the following:

Unfortunately, your browser is too old to work on this Discourse forum. Please upgrade your browser.

It can be adjusted by editing client.en.yml as described above. However, I think it would be beneficial for it to be adjustable from /admin/site_contents.

Customized to what exactly? What else could be said there?

1 Like

The link could point to a different site. i.e. whatbrowser.org

The first part could be adjusted to include the community name.

In general it would be great to easily overwrite particular variables in client.en.yml. Can this be done in a plugin?

1 Like

Yes - include a locale file in the plugin overriding the exact strings, and a plugin.rb with just headers.

1 Like

OK in the meantime I shortened it slightly to

Unfortunately, your browser is too old to work on this site. Please upgrade your browser.

3 Likes