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
When generating entities of application using jhipster v8..0.0 without enable translation some entity files show follow error: "Translation missing for...".
For entity-component.html:
Translation missing for global.field.id
Translation missing for entity.action.view
Translation missing for entity.action.edit
Translation missing for entity.action.delete
For entity-detail.component.html:
Translation missing for global.field.id
Translation missing for entity.action.back
Translation missing for entity.action.edit
For entity-delete-dialog.component.html:
Translation missing for entity.delete.title
Translation missing for entity.action.cancel
Translation missing for entity.action.delete
For entity-update.component.html:
Translation missing for entity.validation.required
Translation missing for entity.action.cancel
Translation missing for entity.action.save
Motivation for or Use Case
Instead of show "Translation missing for " it should show the correct translation.
Reproduce the error
Generate a application without enable translation and then generate any entity.
Overview of the issue
When generating entities of application using jhipster v8..0.0 without enable translation some entity files show follow error: "Translation missing for...".
For entity-component.html:
Translation missing for global.field.id
Translation missing for entity.action.view
Translation missing for entity.action.edit
Translation missing for entity.action.delete
For entity-detail.component.html:
Translation missing for global.field.id
Translation missing for entity.action.back
Translation missing for entity.action.edit
For entity-delete-dialog.component.html:
Translation missing for entity.delete.title
Translation missing for entity.action.cancel
Translation missing for entity.action.delete
For entity-update.component.html:
Translation missing for entity.validation.required
Translation missing for entity.action.cancel
Translation missing for entity.action.save
Motivation for or Use Case
Instead of show "Translation missing for " it should show the correct translation.
Reproduce the error
Generate a application without enable translation and then generate any entity.
Related issues
Suggest a Fix
JHipster Version(s)
8.0.0
JHipster configuration
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v8.0.0
Welcome to the JHipster Information Sub-Generator
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10)
OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)
git version 2.25.1
node: v20.9.0
npm: 10.1.0
Docker version 24.0.1, build 6802122
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Entity configuration(s)
entityName.json
files generated in the.jhipster
directory{
"applications": "*",
"changelogDate": "20231113135347",
"entityTableName": "mission",
"fields": [
{
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": ["required"]
},
{
"fieldName": "description",
"fieldType": "String"
}
],
"name": "Mission",
"pagination": "pagination",
"relationships": [],
"searchEngine": "no"
}
{
"applications": "*",
"changelogDate": "20231113135247",
"entityTableName": "space_event",
"fields": [
{
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": ["required"]
},
{
"fieldName": "date",
"fieldType": "LocalDate",
"fieldValidateRules": ["required"]
},
{
"fieldName": "description",
"fieldType": "byte[]",
"fieldTypeBlobContent": "text",
"fieldValidateRules": ["required"]
},
{
"fieldName": "photo",
"fieldType": "byte[]",
"fieldTypeBlobContent": "image",
"fieldValidateRules": ["required"]
},
{
"fieldName": "type",
"fieldType": "SpaceEventType",
"fieldValidateRules": ["required"],
"fieldValues": "LAUNCH,LANDING"
}
],
"name": "SpaceEvent",
"pagination": "infinite-scroll",
"relationships": [
{
"otherEntityField": "name",
"otherEntityName": "mission",
"relationshipName": "mission",
"relationshipSide": "left",
"relationshipType": "one-to-one"
}
],
"searchEngine": "no"
}
Browsers and Operating System
The text was updated successfully, but these errors were encountered: