Translate all Strings for a New Locale

When adding a new locale to the Janrain Registration widget, it is necessary to translate all rendered strings from the base locale to the new locale. All strings can be exported as a CSV file so that they can be translated and re-imported into the flow. The CSV file includes a column for each locale and new locales are appended as additional columns.

1. Update the Translations CSV

  1. GET the dictionary of all translations specifying the Accept header as text/csv.
  2. Add a new column for the new locale and name it in the header row:
  3. PATCH the updated file into the flow specifying the content type as text/csv.

2. Change the Locale in the Registration Widget

To view the updated translations, set the locale of the widget by updating the following setting: