Uploaded image for project: 'stripes-core'
  1. stripes-core
  2. STCOR-182

document i18n best practices

    XMLWordPrintable

Details

    Description

      Description: We need to document our i18n plan of attack to make sure that translatable strings are handled consistently, namely: HTML in translated values appears to be the standard in the i18n world although react-intl recommends against using <FormattedHTMLMessage> due to security concerns, it appears to be our best option. We'll use it paired with a sanitizer such as https://github.com/punkave/sanitize-html to make sure we have clean output.

      For context, see the two-day long discussion covering all the options and their tradeoffs: https://folio-project.slack.com/archives/C210UCHQ9/p1522155566000121

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h

                    TestRail: Runs

                      TestRail: Cases