Skip to content
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

fix: translation loading #59

Merged
merged 1 commit into from
May 30, 2024
Merged

fix: translation loading #59

merged 1 commit into from
May 30, 2024

Conversation

iChip
Copy link
Contributor

@iChip iChip commented May 29, 2024

  • don't load locale files dynamically
  • logger references updated DD site w/ updated client token
  • replace console.log's w/ logger usages
  • log errors from API error handlers

import localeEn from '@angular/common/locales/en';
import localeZh from '@angular/common/locales/zh';

registerLocaleData(localeFr, 'fr');
Copy link
Collaborator

Choose a reason for hiding this comment

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

is partner supposed to pass fr and en values? can it be fr-ca etc?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AC is currently passing en/zh/fr (not regionalized). here are the errors i'm seeing in the console with the reverted commit

Screenshot 2024-05-29 at 1 51 57 PM

@iChip iChip merged commit 2962d20 into main May 30, 2024
1 check passed
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.

2 participants