i18n »Management« mit Phrase

i18what?!? 🤔

internationalization

i(nternationalizatio)n

i18n

Wie geht das?

.
└── public
    └── locales
        ├── en.json
        └── de.json

Übersetzungsquellen

{
  "account": {
    "login": "LOGIN",
    "logout": "Abmelden",
    "my-profile": "Mein Profil"
  },
  "app": {
    "name": "PartnerShop"
  }
}

i18n Properties

{
  "key": "Value"
}

Verwendung der Properties

<h2>{t('account.login')}<h2>
<h2>{{ 'account.login' | translate }}<h2>

Erstellung und Pflege

von Übersetzungen

Phrase Demo 👨🏼‍💻

deck

By Michael Kühnel

deck

  • 359