Repository navigation
Simulator und Inspektor übersetzen, Gerätesprache als Standard - #19
Merged
Merged
Conversation
- Simulation engine reports notices as codes instead of English text; the app translates them. - Statement/Input/Output and Play/Pause/Step/Stop translated in all language files; missing keys fall back to English. - First launch picks the device language instead of English. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cp4EQgFQyGbM8MVLiWbJKQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Holger · project thread
Before: Auch bei deutscher Oberfläche standen im Inspektor „Statement / Input / Output“ und im Simulator „Play / Pause / Step / Stop“. Simulator-Meldungen („Simulation finished.“, „Division by zero.“, „Please enter a whole number.“) kamen immer auf Englisch. Beim ersten Start war die App immer auf Englisch eingestellt. In da, nb, nl und sv fehlten Schlüssel, die dann als roher Schlüsselname erschienen.
After: Diese Texte sind in allen 21 Sprachdateien übersetzt (Deutsch sorgfältig: Anweisung, Eingabe, Ausgabe, Start, Pause, Schritt, Stopp). Simulator-Meldungen erscheinen in der gewählten Sprache. Beim ersten Start übernimmt die App die Gerätesprache, sofern sie unterstützt wird, sonst Englisch. Fehlende Übersetzungen fallen auf Englisch zurück statt auf den Schlüssel.
How: Die Simulations-Engine in VisuStructCore liefert Meldungen jetzt als
VisuStructSimulationNotice(Code) statt als englischen Text;message/inputErrorbleiben als englische Lesehilfe erhalten. Die App übersetzt die Codes inSimulationPanels.swift.AppLanguage.deviceDefaultbestimmt die Startsprache,trfällt auf Englisch zurück. Keine neuen Dateien, daher keine Änderung an der Projektdatei. Unabhängig vom Umbau-Stapel (#10–#18).Prüfliste
1 / 0und Buchstaben bei Zahleneingabe zeigen deutsche MeldungenGenerated by Claude Code