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

Allow Lingui to use linguiLocale with country identifiers like en-us, it would always load en in this case. Introced a new useLocale hook to use the correct locale string to use in Intl methods. #2196

Merged
merged 5 commits into from
Apr 22, 2024

Conversation

paales
Copy link
Member

@paales paales commented Feb 12, 2024

No description provided.

…`, it would always load `en` in this case. Introced a new `useLocale` hook to use the correct locale string to use in Intl methods.
Copy link

changeset-bot bot commented Feb 12, 2024

🦋 Changeset detected

Latest commit: 22ecb17

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 75 packages
Name Type
@graphcommerce/magento-product-configurable Patch
@graphcommerce/magento-product Patch
@graphcommerce/next-config Patch
@graphcommerce/lingui-next Patch
@graphcommerce/next-ui Patch
@graphcommerce/docs Patch
@graphcommerce/magento-graphcms Patch
@graphcommerce/hygraph-dynamic-rows-ui Patch
@graphcommerce/browserslist-config-pwa Patch
@graphcommerce/changeset-changelog Patch
@graphcommerce/eslint-config-pwa Patch
@graphcommerce/graphql-codegen-markdown-docs Patch
@graphcommerce/graphql-codegen-near-operation-file Patch
@graphcommerce/graphql-codegen-relay-optimizer-plugin Patch
@graphcommerce/prettier-config-pwa Patch
@graphcommerce/typescript-config-pwa Patch
@graphcommerce/address-fields-nl Patch
@graphcommerce/algolia-search Patch
@graphcommerce/cli Patch
@graphcommerce/demo-magento-graphcommerce Patch
@graphcommerce/ecommerce-ui Patch
@graphcommerce/framer-next-pages Patch
@graphcommerce/framer-scroller Patch
@graphcommerce/framer-utils Patch
@graphcommerce/google-datalayer Patch
@graphcommerce/googleanalytics Patch
@graphcommerce/googlerecaptcha Patch
@graphcommerce/googletagmanager Patch
@graphcommerce/graphql-mesh Patch
@graphcommerce/graphql Patch
@graphcommerce/hygraph-cli Patch
@graphcommerce/hygraph-dynamic-rows Patch
@graphcommerce/graphcms-ui Patch
@graphcommerce/image Patch
@graphcommerce/lighthouse Patch
@graphcommerce/magento-cart-billing-address Patch
@graphcommerce/magento-cart-checkout Patch
@graphcommerce/magento-cart-coupon Patch
@graphcommerce/magento-cart-email Patch
@graphcommerce/magento-cart-items Patch
@graphcommerce/magento-cart-payment-method Patch
@graphcommerce/magento-cart-pickup Patch
@graphcommerce/magento-cart-shipping-address Patch
@graphcommerce/magento-cart-shipping-method Patch
@graphcommerce/magento-cart Patch
@graphcommerce/magento-category Patch
@graphcommerce/magento-cms Patch
@graphcommerce/magento-compare Patch
@graphcommerce/magento-customer-account Patch
@graphcommerce/magento-customer-order Patch
@graphcommerce/magento-customer Patch
@graphcommerce/magento-graphql Patch
@graphcommerce/magento-newsletter Patch
@graphcommerce/magento-pagebuilder Patch
@graphcommerce/magento-payment-adyen Patch
@graphcommerce/magento-payment-braintree Patch
@graphcommerce/magento-payment-included Patch
@graphcommerce/magento-payment-klarna Patch
@graphcommerce/magento-payment-multisafepay Patch
@graphcommerce/magento-payment-paypal Patch
@graphcommerce/magento-product-bundle Patch
@graphcommerce/magento-product-downloadable Patch
@graphcommerce/magento-product-grouped Patch
@graphcommerce/magento-product-simple Patch
@graphcommerce/magento-product-virtual Patch
@graphcommerce/magento-recently-viewed-products Patch
@graphcommerce/magento-review Patch
@graphcommerce/magento-search Patch
@graphcommerce/magento-store Patch
@graphcommerce/magento-wishlist Patch
@graphcommerce/mollie-magento-payment Patch
@graphcommerce/react-hook-form Patch
@graphcommerce/framer-next-pages-example Patch
@graphcommerce/framer-scroller-example Patch
@graphcommerce/image-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
graphcommerce ✅ Ready (Inspect) Visit Preview Apr 22, 2024 2:27pm
graphcommerce-hygraph-dynamic-rows-ui ✅ Ready (Inspect) Visit Preview Apr 22, 2024 2:27pm

# Conflicts:
#	packages/magento-product/components/AddProductsToCart/AddProductsToCartSnackbar.tsx
#	packagesDev/next-config/dist/generated/config.js
Copy link
Contributor

Page Size old Size new Size diff First load old First load new First load diff
/account/forgot-password 5.2kB 5.2kB 261kB 262.0kB +1kB⚠️
/account/reviews 5.0kB 4.9kB -0.1kB 241kB 241.0kB
/checkout 9.4kB 9.3kB -0.1kB 278kB 278.0kB
/checkout/customer/addresses/edit 5.7kB 5.7kB 272kB 273.0kB +1kB⚠️
/p/[url] 20.7kB 20.6kB -0.1kB 342kB 342.0kB
/test/[[...url]] 5.3kB 5.2kB -0.1kB 250kB 250.0kB
/test/slider 8.0kB 7.9kB -0.1kB 252kB 252.0kB

@paales paales merged commit 2963955 into canary Apr 22, 2024
4 checks passed
@paales paales deleted the fix/lingui branch April 22, 2024 15:34
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.

1 participant