Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DON'T MERGE (yet): Added I18n support: German and Dutch languages #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 27, 2018

  1. Configuration menu
    Copy the full SHA
    16c2dcc View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. I18n: Added German and Dutch languages

     * Added libraries i18nline and preact-i18nline
     * Added a config that adds the preact-i18nline/webpack-loader
     * Added a LanguagePicker component
     * Modified the Header component
        + Translated the links
        + Made it render children
     * Modified the App component
        + Import the i18n index file
        + Added LanguagePicker as a child of Header
        + When language selected, switch locale
        + When locale switched, re-render
     * Added i18n config to package.json
        + auto-translate h1 and Link elements
     * Added folder src/i18n
        + default.json: default translations as extracted from source
        + de.json: German translation messages
        + en.json: English translation messages
        + nl.json: Dutch translation messages
        + index.js: Index file that takes care of config and imports
    Download committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    ac6f493 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. Configuration menu
    Copy the full SHA
    975b791 View commit details
    Browse the repository at this point in the history