Babel translating inner tags

Registered by Thai Tran

Summary:
Add support for nesting inner tags and trimming.

Motivation / description:
The current extractor does not support nesting of inner tags. This creates problems when we have something like this "<translate> hello <b>beautiful</b> world</translate>". The message extraction gets prematurely cut off.

Futhermore, the extractor does not support trimming. This is important because angular-gettext trims the content and use that as the msgid. The goal is to get it working with angular-gettext, hence, we also need to trim our messages.

UX:
N/A

Outside Dependencies:
N/A

Doc Impact:
Update code comments to reflect this.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
High
Drafter:
Thai Tran
Direction:
Approved
Assignee:
Thai Tran
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 8.0.0
Started by
Thai Tran
Completed by
David Lyle

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/babel-translate-inner-tags,n,z

Addressed by: https://review.openstack.org/213904
    Babel extractor translating inner tags

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.