Skip to content

Conversation

@L0neGamer
Copy link
Contributor

This reverts commit bec6151.

This is a misfeature added to allow messages to depend on site data, but negates the ability of the messages feature to do I18n. For example, if you had a subsite and two instances of that subsite, you may want different names for whatever the parent site is. This feature was intended to allow you to sub in the name of the parent site. However, the subbed in word would not be correctly internationalised, and thus this breaks a fundamental feature of messages.

The correct way to do the above is to create multiple messages sets with different parent site names, and their own sets of language files.

@jezen

…ges"

This reverts commit bec6151.

This is a misfeature added to allow messages to depend on site data, but
negates the ability of the messages feature to do I18n. For example,
if you had a subsite and two instances of that subsite, you may want
different names for whatever the parent site is. This feature was intended
to allow you to sub in the name of the parent site. However, the subbed
in word would not be correctly internationalised, and thus this breaks
a fundamental feature of messages.

The correct way to do the above is to create multiple messages sets with
different parent site names, and their own sets of language files.
@jezen jezen merged commit 4a8ed7c into yesodweb:master Jul 16, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants