Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1746

Escape some characters in I18nTextReader

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.0M6
    • None
    • None
    • 2 - Long term
    • 4 - Structuring

      The I18nTextReader could be improved to be able to escape certain characters, either with a replacement table or with a preconfigured mode.
      That would allow us to avoid having one message for JS, one for XML, with different escapings (backslashes before quotes and double quotes in JS), and more generally to avoid thinking about escaping when writing internationalized messages.

      However, some messages are currently already escaped for JS, so a full pass over existing catalogues will be required.

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: