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

German i18n missing translation keys #24993

Closed
1 task done
timothystone-knsl opened this issue Jan 29, 2024 · 0 comments · Fixed by #24994
Closed
1 task done

German i18n missing translation keys #24993

timothystone-knsl opened this issue Jan 29, 2024 · 0 comments · Fixed by #24994

Comments

@timothystone-knsl
Copy link
Contributor

timothystone-knsl commented Jan 29, 2024

Overview of the issue

The German i18n translation bundles are missing keys found in other modules. The below keys are missing in de/metrics.json and de/global.json.ejs, respectively.

de/metrics.json

"gets": "Anzahl gelesener Objekte",
"puts": "Anzahl geschriebener Objekte",
"removals": "Anzahl gelöschter Objekte",
"evictions": "Anzahl entfernter Objekte",
"hitPercent": "Trefferwahrscheinlichkeit %",
"missPercent": "Fehlerwahrscheinlichkeit %",
"averageGetTime": "Durchschnittliche Lesedauer (µs)",
"averagePutTime": "Durchschnittliche Schreibdauer (µs)",
"averageRemoveTime": "Durchschnittliche Löschdauer (µs)"   

de/global.json.ejs

"patternLogin": "Dieses Feld darf nur Buchstaben, Ziffern und E-Mail-Adressen enthalten."

Translations provided by Markus Bernhardt.

Motivation for or Use Case

German should be supported identically as others in I18N. The translations for the cache metrics are incomplete.

Reproduce the error
jhipster
...
...
select German as NATIVE and optionally add others
Related issues

None identified.

Suggest a Fix

See PR #24994

JHipster Version(s)
JHipster configuration

Info

[email protected] /private/tmp/de-en
└── [email protected]
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "deEn",
    "buildTool": "maven",
    "cacheProvider": "ehcache",
    "clientFramework": "angular",
    "clientTestFrameworks": [
      "cypress"
    ],
    "clientTheme": "slate",
    "clientThemeVariant": "primary",
    "creationTimestamp": 1706409847503,
    "cypressAudit": true,
    "cypressCoverage": true,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "devServerPort": 4200,
    "enableGradleEnterprise": null,
    "enableHibernateCache": true,
    "enableSwaggerCodegen": false,
    "enableTranslation": true,
    "entities": [],
    "feignClient": false,
    "gradleEnterpriseHost": null,
    "jhipsterVersion": "8.1.0",
    "languages": [
      "de",
      "en"
    ],
    "messageBroker": false,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "de",
    "packageName": "com.mycompany.myapp",
    "prodDatabaseType": "postgresql",
    "reactive": false,
    "searchEngine": false,
    "serverPort": null,
    "serverSideOptions": [],
    "serviceDiscoveryType": false,
    "testFrameworks": [
      "gatling",
      "cucumber",
      "cypress"
    ],
    "websocket": false,
    "withAdminUi": true
  }
}
Environment and Tools

openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode)

git version 2.39.3 (Apple Git-145)

node: v18.19.0
npm: 10.2.3

Docker version 24.0.7, build afdd53b

Entity configuration(s) entityName.json files generated in the .jhipster directory

None.

Browsers and Operating System

macOS 14.3
Chrome 121

  • Checking this box is mandatory (this is just to show you read everything)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants