[MGNLCT-44] I18n support for browser, detail, content app created automatically Created: 02/Jul/18  Updated: 19/Oct/18  Resolved: 03/Oct/18

Status: Closed
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Improvement Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 3d 0.5h
Original Estimate: Not Specified

Attachments: PNG File i18n-supports.png     PNG File image-2018-10-11-10-26-42-039.png    
Issue Links:
Relates
relates to MGNLCT-62 Good default labels for CT-defined ap... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Content types Developer Preview
Sprint: Saigon 154, Saigon 155
Story Points: 3

 Description   

I18n support for browser, detail, content app created automatically

Example: There are some un-default label need to be solved when created app by content-types



 Comments   
Comment by Christopher Zimmermann [ 16/Jul/18 ]

We should provide default "fallback keys" which refer only to "Item" and "Items" for common actionbar and dialog / field strings.

For example: 

https://git.magnolia-cms.com/users/czimmermann/repos/pxm-on-magnolia/browse/light-modules/pxm/i18n/app-generic-messages_en.properties

Comment by Christopher Zimmermann [ 10/Sep/18 ]

We should supply default labels for the most commonly used field names.

Such as:

fields.name = Name
fields.title = Title
fields.description = Description
fields.country= Country
fields.image = Image
fields.date = Date
fields.duration = Duration
fields.author = Author
fields.body = Body
Comment by Oanh Thai Hoang [ 11/Oct/18 ]

Provided default labels for the most commonly used field names and some default actions, actionbars.

# Default action
actions.addItem=Add Item
actions.editItem=Edit Item

tabs.default=Item

# Default actionbar
actionbar.sections.folder=Folder
actionbar.sections.deletedItem=Deleted item
actionbar.sections.deletedFolder=Deleted folder
actionbar.sections.root=Actions
actionbar.sections.item=Item
actionbar.sections.multiple=Multiple items

# Default common field names
default.jcrName=Name
default.name=Name
default.title=Title
default.description=Description
default.country=Country
default.image=Image
default.date=Date
default.duration=Duration
default.author=Author
default.body=Body

It also proposes browser label that getting from app label if app label is specified

Generated at Mon Feb 12 00:36:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.