Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Good but needs some work like constant translation #5116

Closed
ajgw opened this issue Nov 9, 2021 · 2 comments
Closed

Good but needs some work like constant translation #5116

ajgw opened this issue Nov 9, 2021 · 2 comments
Labels
focus: i18n The issue/PR is related to internationalization.

Comments

@ajgw
Copy link

ajgw commented Nov 9, 2021

What do you like about the Cart & Checkout blocks?

The layout is excellent – I like it.

What do you think is missing from the Cart & Checkout blocks?

Well with Blocks plugin 6.2.0 installed it is till very buggy: on checkout page edit I see labels in my own language which is german, but on frontend customers and I see them in native english. Editing the terms and conditions text is a wonderful idea. But editing is a bit frustrating and styles for paragraph like left, center or justified textalign not there. In my case – I am using Storefront theme from Woo – text is on page edit left but on frontend justified and the only paragraph on site which is justified.
I have this plugin active since few months and customers ordered with new cart and checkout and it seems anyone had any issues with checkout. Thanks.

@DarianDev
Copy link

DarianDev commented Nov 9, 2021

hey this isse is known. Here: #5005
hope that they fix it fast as possible! @nielslange already posted a suggestion

@nielslange
Copy link
Member

nielslange commented Nov 10, 2021

Hello @ajgw 👋 Thanks for reporting this.

As @DarianDev mentioned, the untranslated sections have been reported in #5005 and #5106, and I've created a fix for that in #5112.

Regarding aligning the terms and conditions text, I took a brief look and noticed that activating the alignment option for that section will lead to various layout problems. Given the current roadmap and priorities, I'm afraid this is not something we'll look into in the near future. However, you can control the alignment of that section using custom CSS.

The following snippet allows to right align the terms and conditions text:

/* Right align terms & conditions text */
.wc-block-checkout__terms {
  text-align: right;
}

The following snippet allows centering the terms and conditions text:

/* Center terms & conditions text */
.wc-block-checkout__terms {
  text-align: center;
}

You can add the desired CSS snippet to your site as described in https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/.

@nielslange nielslange added the focus: i18n The issue/PR is related to internationalization. label May 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: i18n The issue/PR is related to internationalization.
Projects
None yet
Development

No branches or pull requests

4 participants