[MAGNOLIA-5296] I18nizer: Pattern or API for unmodeled/unconfigured texts Created: 04/Sep/13  Updated: 08/Mar/19

Status: Open
Project: Magnolia
Component/s: i18n
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Magnolia International Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLUI-2014 Use new i18n API in Favorites (replac... Closed
relation
is related to MAGNOLIA-5268 As a developer I can annotate objects... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

This is basically the "in-code" portion of the concept. We have some of that, for example in Favorites.



 Comments   
Comment by Magnolia International [ 04/Sep/13 ]

A solution that comes to mind would be

  • declare such texts via an interface (à la Localizer)
  • add a method in I18nizer which takes a class object ?
    • makes sure it's an interface ?
    • generates a null implementation of it for the sake of having an instance, and decorates it like regular modeled objects
Generated at Mon Feb 12 04:03:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.