feature/offline-language-switch #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/offline-language-switch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
getCurrentLanguage() returns DEFAULT_LANGUAGE ("fr") when no pref is stored, never an empty string, so the isNotEmpty() guard always fired and the system-locale branch was dead code. Dutch-speaking users always got French on first launch. Fix: check prefs.contains(KEY_LANGUAGE) to distinguish "never set" from "explicitly set to fr". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Add missing data-status strings to values-nl/strings.xml and fix general_notes translation ("Notes" → "Notities"). Android loads strings from values-nl/ based on the activity's locale, which is applied in attachBaseContext(). The locale only takes effect on activity recreation. Restore _shouldRecreateActivity so that language switch triggers a recreate — both language datasets are now pre-loaded in the DB, so the recreation is fast with no loading delay. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>