You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- main improvements
- all language texts can now be edited from the admin interface
- in frontend code we now have autocomplete for translation ids
- change in use
- i18n-svelte -> lib/i18n.svelte
- `$locale` -> `i18n.locale`
- `$locales` -> `i18n.locales`
- `$_('a.b')` -> `i18n.tr.a.b`
- to add a text, add the id to lib/translations.ts
- code changes
- remove i18n-svelte library
- remove locales/de.json: this is now included in the static folder of the deployed website, not part of the frontend source code anymore
- use camel case for all translation ids for consistency and to allow use without quotes
- de is now also editable in admin interface
- resolves#211
0 commit comments