Add automatic escaping of single quotes for MessageFormat.

Description

Rincl currently uses MessageFormat, which requires escaped (doubled) single quotes. Add logic to automatically escape single quotes if needed, looking at com.ibm.icu.text.MessageFormat for inspiration.

The beset approach would probably be to add a message formatting strategy, and add this escaping logic to the MessageFormat implementation. One could set a message format strategy for each i18n concern, and some implementations might default to some Rincl default message format strategy.

Environment

None

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Components

Priority

Major
Configure