You can still do it with I18n if your business team needs to input those via an admin interface instead of a yaml file.
I18n.backend.store_translations "en", name_with_reviews: { one: article.title_pattern_singular, other: article.title_pattern_plural }
and then I18n.t("name_with_reviews", count: 2, name: "Bob")
I18n.t("name_with_reviews", count: 2, name: "Bob")
Of course if you don't want to support plural it's just
I18n.backend.store_translations "en", name_with_reviews: article.title_pattern }
and I18n.t("name_with_reviews", name: "Bob")
I18n.t("name_with_reviews", name: "Bob")
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can still do it with I18n if your business team needs to input those via an admin interface instead of a yaml file.
and then
I18n.t("name_with_reviews", count: 2, name: "Bob")
Of course if you don't want to support plural it's just
and
I18n.t("name_with_reviews", name: "Bob")