-
-
Notifications
You must be signed in to change notification settings - Fork 1
Add internationalization support for German language π #1
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
Open
Cinzya
wants to merge
14
commits into
Airoflare:master
Choose a base branch
from
Cinzya:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
- Integrate next-intl plugin with existing PWA setup - Chain plugins properly: PWA(nextIntl(config)) - Maintain static export compatibility π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add i18n request configuration for static export - Create locale config with English and German support - Add comprehensive English and German translations for task interface - Support client-side locale detection and switching π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Implement getUserLocale() with browser language detection - Add setUserLocale() with localStorage persistence - Support automatic German detection from browser language - Compatible with static export (no server-side cookies) π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add LocaleProvider for dynamic locale switching - Integrate with getUserLocale() for browser detection - Pass locale-specific messages to NextIntlClientProvider - Enable client-side internationalization without routing π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Replace NextIntlClientProvider with custom LocaleProvider - Load all messages at build time for client-side switching - Remove server-side locale detection for static export compatibility - Pass messages to LocaleProvider for dynamic locale switching π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Replace hardcoded strings with useTranslations('Tasks')
- Add translation keys for search, filters, and task actions
- Support multilingual task management interface
- Include aria-label translations for accessibility
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
- Add DeleteModal translation keys for English and German - Include title, confirmation message, warning text, and button labels - Update delete-confirm-modal component to use useTranslations - Support multilingual delete confirmation dialog π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for time display labels and aria-labels in the info-section component including Time, Day, Date, Timezone labels and accessibility text for manage timezones and toggle theme buttons. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for task creation and editing modal including modal titles, form labels, placeholder text, and button labels for both create and edit modes. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for task statistics display including section title and all stat labels (overdue, not completed, completed, total tasks). π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for timezone management modal including modal title, section headings, form placeholders, accessibility labels for timezone controls, and action buttons. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for user greeting messages including default fallback name and parameterized greeting messages for new and returning users. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add English and German translations for user name editing modal including modal title, form labels, placeholder text, and action buttons. π€ Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Member
|
Hey @Cinzya !! I just ran the dev server ( I also built the app ( I also changed my timezone to |
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.


Summary β¨
Changes Made π
Translation Infrastructure ποΈ
messages/en.jsonandmessages/de.jsonComponent Updates π§
Integrated
useTranslationshook in all user-facing components:Locale Support π―
Technical Details π§
next-intlfor robust internationalizationTest Plan β
This PR makes Taska accessible to German-speaking users while maintaining the existing English
experience and establishing a foundation for future language additions! π