Michael Bromley 5e28d027c8 refactor(admin-ui): Abstract default language to a function 7 ani în urmă
..
e2e 9d6f45522b style: Unify tslint configs and fix outstanding issues 7 ani în urmă
src 5e28d027c8 refactor(admin-ui): Abstract default language to a function 7 ani în urmă
typings 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 ani în urmă
.gitignore 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 ani în urmă
README.md 8c3b77ce47 feat(admin-ui): Complete UI i18n 7 ani în urmă
angular.json 8c3b77ce47 feat(admin-ui): Complete UI i18n 7 ani în urmă
generate-graphql-types.ts 2b543f46e1 feat(admin-ui): Implement simple update of product detail 7 ani în urmă
package.json 8c3b77ce47 feat(admin-ui): Complete UI i18n 7 ani în urmă
tsconfig.json 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 ani în urmă
tslint.json f0ff8c72c4 style(admin-ui): Fix all linter issues 7 ani în urmă
yarn.lock 8c3b77ce47 feat(admin-ui): Complete UI i18n 7 ani în urmă

README.md

Vendure Admin UI

This is the administration interface for Vendure.

It is an Angular application built with the Angular CLI.

The UI is powered by the Clarity Design System.

GraphQL & Typings

apollo-codegen is used to automatically create TypeScript interfaces for all GraphQL queries used in the application.

All queries should be located in the ./src/app/data/queries directory.

Run yarn generate-gql-types to generate TypeScript interfaces based on these queries. The generated types are located at ./src/app/data/types/gql-generated-types.ts.

Localization

Localization of UI strings is handled by ngx-translate. The translation strings should use the ICU MessageFormat.

Translation keys are automatically extracted by running:

yarn extract-translations

This will add any new translation keys to the default language file located in ./src/i18n-messages/en.json.

From this master translation file, other language versions can be created by copying and updating the values for the new language.