Skip to content

Conversation

DiogoRDuarte
Copy link
Contributor

In this MR:

  • Fixed i18n issue where, when having multiple charts with different languages, one of them would override all others. This would inevitably affect external components using i18n too.
  • Added i18n tests.

@DiogoRDuarte DiogoRDuarte changed the base branch from main to develop September 8, 2025 10:55
@DiogoRDuarte DiogoRDuarte self-assigned this Sep 8, 2025
@DiogoRDuarte DiogoRDuarte linked an issue Sep 8, 2025 that may be closed by this pull request
@DiogoRDuarte DiogoRDuarte marked this pull request as draft September 8, 2025 11:22
const { t } = useIsolatedI18n(
internationalization?.language,
internationalization?.customTranslations,
);
Copy link
Member

@joaopalmeiro joaopalmeiro Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not passing internationalization only and wrap all the logic? Any reasons?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed! nice point

@DiogoRDuarte DiogoRDuarte marked this pull request as ready for review September 9, 2025 08:45
@DiogoRDuarte DiogoRDuarte merged commit 7ccebb1 into develop Sep 9, 2025
4 checks passed
@DiogoRDuarte DiogoRDuarte deleted the i18n-tests branch September 11, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests: Further create more tests, especially for the new i18n props
2 participants