Skip to content

fix(locale): add missing German email translation keys - #14189

Merged
HarshMN2345 merged 1 commit into
mainfrom
cursor/german-email-translations-3637
Oct 7, 2026
Merged

HarshMN2345 merged 1 commit into
mainfrom
cursor/german-email-translations-3637

Conversation

@HarshMN2345

Copy link
Copy Markdown
Member

What does this PR do?

Adds the 65 emails.* keys that de.json was missing compared with en.json, so German locale mail (including MFA challenge codes) no longer falls back to English.

Fixes #14134.

New strings keep every placeholder and {{b}} / {{/b}} tag from the English source. Keys that complete an existing German template use that template's address form (du for verification, recovery, and invitation; Sie for magic URL and OTP session). New templates follow the Sie form already used by the German magic-URL and OTP session mail.

Existing German strings are unchanged, including the du / Sie mix noted in the issue.

Test Plan

  • Parsed de.json and compared its key set with en.json: both have 313 keys, and every emails.* placeholder list on a newly added key matches English.
  • Diff is 65 insertions in app/config/locale/translations/de.json only.

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?
Open in Web Open in Cursor 

Fill the 65 emails.* keys absent from de.json so MFA, OTP, session
alert, data export, and certificate mail no longer fall back to English.

Fixes #14134
@luxor-code-review

luxor-code-review Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR updates the German locale file with translated email template strings, keeping the JSON structure and key set aligned with the English source.

Files Change
app/config/locale/translations/de.json Adds/updates German translations for email templates with matching {{...}} placeholders and consistent phrasing.

Reviewed commit: 7d7310d

@ghost

ghost commented Oct 7, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The added strings preserve the English source placeholders and formatting tags, and no concrete defects were found.

Adds 65 missing German email translation keys, including MFA challenges, OTP verification and recovery, session alerts, data exports, and certificate errors. It also supplies missing previews and headings for existing templates while leaving their current translations unchanged.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
app/config/locale/translations/de.json Completes missing email translations and previews while preserving existing German strings.

Reviewed 7d7310d · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

32 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (17)
  • php.appwrite.permissive-write-permission (8)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → cursor/german-email-translations-3637 (after).

Metric Before After Change
🚀 Requests/sec 187.61 193.02 ⚪ +2.9%
⏱️ Latency P50 90.27 ms 88.97 ms ⚪ -1.4%
⏱️ Latency P95 222.74 ms 209.95 ms 🟢 -5.7%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 88.97 209.95 12,369 193.02 -12.79
Account 172.78 333.76 651 10.82 -13.36
TablesDB 85.49 163.57 6,727 107.92 -18.61
Storage 82.32 176.53 3,255 53.42 -6.13
Functions 127.71 256.86 1,736 29.04 -11.43

Top API waits (after)

API request Max wait (ms)
account.name.update 508.19
tablesdb.rows.increment 464.87
tablesdb.rows.get 462.13
functions.variables.update 431.37
functions.create 423.34

@HarshMN2345
HarshMN2345 merged commit 72e96c6 into main Oct 7, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: German translation (de.json) is missing 65 email keys, MFA code mail is English

2 participants