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

chore: establish a pattern for localizing frameless components #1318

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

josephaxisa
Copy link
Contributor

@josephaxisa josephaxisa commented May 25, 2023

To test:

  1. Go to EmbedPlayground.tsx
  2. Import itIT from @looker/embed-components
  3. On L88 pass itIT to ComponentsProvider by destructuring it like so :
  return (<ComponentsProvider {...itIT}> ...)

Screenshot:
image

This is a first pass. Next is getting this closer to Looker's implementation of localization. Credit to Meredith for all the references she provided for this!

jkaster
jkaster previously approved these changes May 25, 2023
Copy link
Contributor

@jkaster jkaster left a comment

Choose a reason for hiding this comment

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

sacré bleu ! c'est incroyable

@josephaxisa josephaxisa changed the title feat: localize QuickEmbed component chore: establish a pattern for localizing frameless components May 25, 2023
@josephaxisa josephaxisa requested a review from a team as a code owner March 12, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants