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

Angular 17 #42

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
## Try it

_Save functionality is disabled_ for the demo: https://json-i18n-editor.now.sh/

- Login: `guest`
- Pass: `guest`

Expand All @@ -22,7 +23,8 @@ _Save functionality is disabled_ for the demo: https://json-i18n-editor.now.sh/

## How to use

It *requires* two input `JSON` files (currently hardcoded as an example: `en.json` & `de.json`) each of which must have a depth of 2, for example:
It _requires_ two input `JSON` files (currently hardcoded as an example: `en.json` & `de.json`) each of which must have a depth of 2, for example:

```JSON
{
"categoryName": {
Expand All @@ -37,7 +39,8 @@ It *requires* two input `JSON` files (currently hardcoded as an example: `en.jso
...
}
```
_The value of all the keys at depth 1 must always be objects containing only keys that have strings as values_

Note: _The value of all the keys at depth 1 must always be objects containing only keys that have strings as values_

The structure of `en.json` is taken as authority on which keys must be present.

Expand All @@ -54,7 +57,8 @@ The PHP folder has a rough-and-dirty set of files to serve as API endpoints for
## Technology

**JSON i18n Editor** is built with:
- [Angular 13](https://angular.io/) (February 2022)

- [Angular](https://angular.io/) (Current version is 17, updated December 2023)
- [ngx-virtual-scroller](https://github.com/rintoj/ngx-virtual-scroller)
- [Quill](https://github.com/quilljs/quill)

Expand Down
7 changes: 3 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "intl:build"
"buildTarget": "intl:build"
},
"configurations": {
"production": {
"browserTarget": "intl:build:production"
"buildTarget": "intl:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "intl:build"
"buildTarget": "intl:build"
}
},
"test": {
Expand Down Expand Up @@ -125,7 +125,6 @@
}
}
},
"defaultProject": "intl",
"cli": {
"analytics": false
}
Expand Down
Loading