. └── public └── locales ├── en.json └── de.json
{ "account": { "login": "LOGIN", "logout": "Abmelden", "my-profile": "Mein Profil" }, "app": { "name": "PartnerShop" } }
{ "key": "Value" }
<h2>{t('account.login')}<h2>
<h2>{{ 'account.login' | translate }}<h2>
By Michael Kühnel
Frontend Developer working for Micromata 👨🏼💻