Skip to content

refactor(i18n): Prepare old resources for deprecation. Simplify resource maps.#2169

Open
skrustev wants to merge 1 commit intomasterfrom
skrastev/i18n-migrate
Open

refactor(i18n): Prepare old resources for deprecation. Simplify resource maps.#2169
skrustev wants to merge 1 commit intomasterfrom
skrastev/i18n-migrate

Conversation

@skrustev
Copy link
Copy Markdown
Member

Description

  • Introduce union types for the Calendar, Date Picker and Date Range Picker resourceStrings properties setter. The getter type remains unchanged until to avoid breaking changes for now, but it will contain the new resources as well for migration.
  • Simplify resource map handling
  • Add Date Picker resource map
  • Update resource names used in all components ahead of time to use new resources
  • Tagged deprecated interfaces and old EN resources

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to change)
  • Documentation update
  • Refactoring (code improvements without functional changes)

Related Issues

Resolves #2166

Testing

  • Please make sure that old behavior remains unchanged and new it allows for switch to new resources.

Checklist

  • My code follows the project's coding standards
  • I have tested my changes locally
  • I have updated documentation if needed
  • Breaking changes are documented in the description

@skrustev skrustev requested a review from rkaraivanov March 31, 2026 07:40
@skrustev skrustev added 🛠️ status: in-development i18n Issues related to internationalization and localization labels Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ status: in-development i18n Issues related to internationalization and localization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow for Calendar and Date Range Picker to receive new resource strings as properties.

2 participants