[MAGNOLIA-5315] I18nizer: allow default values, optional, or default-to-blank texts Created: 16/Sep/13  Updated: 29/Sep/20  Resolved: 29/Sep/20

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

Type: New Feature Priority: Neutral
Reporter: Magnolia International Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 8m
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-5309 I18nizer: pluggable/configurable way ... Open
dependency
depends upon MAGNOLIA-5268 As a developer I can annotate objects... Closed
relation
is related to MGNLUI-1114 Clicking description button at top of... Closed
is related to MGNLUI-2109 I18n keys for forms defined in config... Closed
supersession
is superseded by MAGNOLIA-7778 Implement @I18nText fallback parameter Closed
Template:
Acceptance criteria:
Empty

 Description   

There are some texts where a translation is "mandatory" (i.e a field label), but others which are typically optional, such as a field description. Several ideas:

  • @I18nText(optional=true
  • @I18nText(default=""
  • @I18nText(defaultToEmpty=true

I'm not convinced there are other cases than "" for the default property of the annotation.


Generated at Mon Feb 12 04:03:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.