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

i18n: inject strings from trace engine npm package #16272

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Conversation

connorjclark
Copy link
Collaborator

This adds a step to the end our our string collection process to inject strings found under node_modules/@paulirish/trace_engine/locales (newly published).

These strings will not be sent to TC: so we'll be able to use the exact same strings as CDT.

TraceEngineResult handles doing the actual localization. When we start making insight audits, they can simply use the model's title/description as-is.

@connorjclark connorjclark requested a review from a team as a code owner December 3, 2024 19:57
@connorjclark connorjclark requested review from adamraine and removed request for a team December 3, 2024 19:57
@connorjclark
Copy link
Collaborator Author

Remaining failures seem unrelated, happening on main.

@adamraine
Copy link
Member

These strings will not be sent to TC

But they're added to the en-US locale? Won't they get auto-uploaded on our next i18n push?

@connorjclark
Copy link
Collaborator Author

No, because we export en-US.ctc.json to TC, not the other one.

@connorjclark connorjclark merged commit 36cac18 into main Dec 4, 2024
27 checks passed
@connorjclark connorjclark deleted the insights-i18n branch December 4, 2024 04:53
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.

3 participants