Skip to content
Snippets Groups Projects
  1. Aug 16, 2017
  2. Aug 15, 2017
  3. Aug 14, 2017
  4. Aug 11, 2017
  5. Aug 10, 2017
  6. Aug 09, 2017
  7. Aug 08, 2017
  8. Aug 04, 2017
  9. Aug 03, 2017
  10. Jul 31, 2017
  11. Jul 21, 2017
  12. Jul 19, 2017
    • chrisgarrity's avatar
      handle messages better · 2dd37827
      chrisgarrity authored
      Dynamic import didn’t do what we wanted, so just added `npm run i18n:msgs` to the start command. This is just temporary. Other changes as requested:
      * exports in one place
      * loc=> locale
      
      Also fixed use of require for localeData to use dynamic import (this one works), so the babelrc changes are needed, otherwise import as a function is not recognized.
      2dd37827
    • Paul Kaplan's avatar
      Update package.json · 19a007ab
      Paul Kaplan authored
      19a007ab
    • Paul Kaplan's avatar
      Update package.json · 65a94643
      Paul Kaplan authored
      65a94643
  13. Jul 18, 2017
    • chrisgarrity's avatar
      Integrate react-intl with redux · 1225d387
      chrisgarrity authored
      Using react-intl-redux package.
      
      This just sets up the default English. Language switching in another PR. Requires locale/messages.json to exist, `{}` is ok.
      1225d387
    • chrisgarrity's avatar
      Generate messages json from available translations · 0d4fcf11
      chrisgarrity authored
      Generate `locale/messages.json` from available languages in `translations`.  If there are no translations for a given language (from `languages.json`) it just skips it, react-intl will use the default english strings.
      
      Just using English, French and Spanish for testing right now.
      0d4fcf11
  14. Jul 17, 2017
    • chrisgarrity's avatar
      Generate i18n source separate from build step · 7e64c897
      chrisgarrity authored
      Generating the localization source to update the translation system (transifex) is really separate from building. When building we want to be using the current state of translations from transifex, and the english default strings are not needed.
      
      Uses the babel-cli to run the babel-plugin-react-intl separately from  webpack.
      7e64c897
    • chrisgarrity's avatar
      Parameterize script · ba53b1c7
      chrisgarrity authored
      Making the script easier to reuse later.
      ba53b1c7
    • chrisgarrity's avatar
      Generate en.json from translation messages · 88171110
      chrisgarrity authored
      Using babel-plugin-react intl to extract messages from sources that use react-intl. It creates one file per component, that’s not ideal for translators.
      
      Transifex supports several different json formats. We picked the chrome i18n json format because it includes the ‘description’ and displays that to translators as instructions in the transifex UI.
      88171110
  15. Jul 11, 2017
  16. Jul 06, 2017
  17. Jun 30, 2017
  18. Jun 28, 2017
  19. Jun 26, 2017
  20. Jun 24, 2017
  21. Jun 22, 2017
  22. Jun 17, 2017
  23. Jun 15, 2017
  24. Jun 14, 2017
Loading