-
Notifications
You must be signed in to change notification settings - Fork 0
I18n domain #2
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
MayGo
wants to merge
15
commits into
main
Choose a base branch
from
i18n-domain
base: main
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.
Open
I18n domain #2
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
- Created multiple new components for homepage sections (Hero, Benefits, Pricing, etc.) - Added Lottie animation components for each section with dynamic rendering - Implemented ScrollToAnchorOnPageLoad utility component - Organized components and animations in app/[locale]/components directory - Integrated various UI elements like Carousel, IntroCallCard, and PriceItem
- Integrate next-intl for multi-language support - Configure routing and middleware for locales (en, et) - Add language switcher component - Create message files for English and Estonian - Update layout and components to support internationalization - Add global type definitions for internationalization - Implement locale-based routing and navigation
- Create components.json translation files for English and Estonian - Update Footer, MenuDialog, and Navlinks components to use translations - Modify global.d.ts to include ComponentMessages type - Integrate next-intl translations for component text content
…nents.json - Remove components.json translation files for English and Estonian - Move all component translations to page.json - Update global.d.ts to remove ComponentMessages type - Refactor components to use translations from consolidated page.json files - Simplify internationalization structure by consolidating translation files
- Update ComparePricing, Discuss, PauseTry, PriceItem, PriceItemButton, and Testimonials components to use next-intl translations - Move hardcoded text content to page.json translation files for English and Estonian - Update EMAIL_TO constant to use .dev domain - Refactor components to dynamically render text using useTranslations hook
…mponents - Integrate next-intl translations for GridBackground, PriceForOthers, and TechScroll components - Update page.json translation files for English and Estonian with new translation keys - Replace hardcoded text with dynamic translations using useTranslations hook
- Complete translation of entire page.json file to Estonian - Translate all sections including hero, benefits, pricing, testimonials, and FAQ - Maintain consistent translation style and tone throughout the document
- Add support for locale-specific metadata in layout.tsx - Integrate metadata translations from page.json for both English and Estonian - Include dynamic title, description, keywords, and alt text - Adjust OpenGraph and Twitter metadata to use translated content - Update Content-Language meta tag to use current locale
- Upgrade TypeScript, React types, and Node types to latest versions - Refactor root and locale layouts to improve structure and performance - Add loading skeleton component for better user experience - Remove redundant not-found page - Integrate Vercel Analytics and Speed Insights - Simplify theme and font configuration
- Implement global not-found page for handling 404 errors - Add root page redirection to default locale (/en) - Update locale layout to validate incoming locale and use notFound() for invalid locales - Improve routing and error handling in the application structure
- Refine translations in page.json for Estonian locale - Remove unnecessary "i" from "Reacti" throughout the document - Maintain consistent translation style and terminology - Update metadata, hero, benefits, and other sections with corrected React terminology
- Refine owner title translation in Estonian locale - Modify "&" symbol usage in owner title - Maintain consistent translation style for introCallCard section
- Update LanguageSwitcher to use custom Button component and improve locale switching - Modify IntroCallCard heading with adjusted line height - Update Estonian translations with minor text refinements
- Remove [locale] directory and consolidate routes in root app directory - Modify middleware and routing configuration to support locales without prefix - Update HeaderNavbar to remove LanguageSwitcher component - Add various animation components for different sections - Refactor page structure to improve overall application layout
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- Delete middleware.ts with locale configuration - Remove next.config.js and replace with next.config.ts - Delete LanguageSwitcher component from project - Remove routing.ts file and consolidate locale settings - Update request.ts to use direct imports and improve error handling - Remove language switcher from MenuDialog component
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.
No description provided.