diff --git a/README.md b/README.md index fa08396a..b2e72a0c 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,11 @@ Files for internationalization are located [here](https://github.com/Athou/comma To add a new language: -- edit `commafeed-client/src/i18n.ts` and +- edit `commafeed-client/src/i18n.ts` - add the new locale to the `locales` array. - import the dayjs locale - edit `commafeed-client/.linguirc` and add the new locale to the `locales` array. +- run `npm run i18n` and add translations to the newly created `commafeed-client/src/locales/[locale]/messages.po` file The name of the locale should be the two-letters [ISO-639-1 language code](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). diff --git a/commafeed-client/README.md b/commafeed-client/README.md deleted file mode 100644 index 032c2c94..00000000 --- a/commafeed-client/README.md +++ /dev/null @@ -1,3 +0,0 @@ -## CommaFeed new UI prototype - -This project may or may not one day replace the existing CommaFeed web UI.