Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 19:00 – 22:00 -

Supporter timezone: Europe/Paris (GMT+01:00)

This topic contains 7 replies, has 2 voices.

Last updated by Yvette 2 years, 4 months ago.

Assisted by: Yvette.

Author Posts
July 20, 2022 at 11:19 am #11700415

olegA-5

The ATE adds a space before every segment inside a paragraph in Chinese.

July 22, 2022 at 10:05 am #11717967

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Hello

I have been assigned to your ticket.

1. Please create a simple post or page with nothing but 2 sentences that illustrates this issue.
Write back with the URL or the post/page name.

Make the phrase as short and simple as possible.

2. Are you able to replicate the issue on this sandbox site?
hidden link

Please use the same example as the one you create on your own site.

Thanks

July 22, 2022 at 12:14 pm #11718959

olegA-5

Yvette,

I've replicated the issue on the sandbox. Page title is Test.

July 22, 2022 at 2:10 pm #11719981

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Hello

I believe that this is intended and if you do not want to have the space between segements, you will need to combine the segments into a common one.

I just tried this same translation with Spanish, and the result is the same. Please givev it a try yourself.

It is just especially noticible with Chinese because of the font being used.

July 22, 2022 at 2:27 pm #11720057

olegA-5

When there are html tags in a segment, I can't combine it with the next one. (I believe, that that is not very good for many-many reasons, mostly because a translation just wiping out upon adding or deleting a tag later, without changing a 'main' text, and joined segments rejoining (if the tag is not within the last) with translation, again, wiping out, but support explained me that the benefits outweight...) Anyway, since I often have html tags, it's not for me.

It is noticible with Chinese because there should be no spaces, except the ones that are part of some characters, like chinese dots and commas, i.e. there shoud no be any 'traditional' spaces. It's not about some special font.

July 22, 2022 at 5:32 pm #11721729

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

I can understand your reasons for not joining the segments. I simply wanted to point out that this extra white space is not necessarily something that only happens with chinese.

I can escalate this issue to our 2nd tier support group who can then notify the ATE development team about the impact on Chinese translations.

Do you have any other comments regarding this issue before I escalate?

July 22, 2022 at 5:37 pm #11721737

olegA-5

I do understand that WPML adds spaces between segments inside paragraphs for any language, since segments cannot start or end with spaces, but as a rule there should be spaces between segments after all.

I don't have any comments. I would appreciate the escalation of the issue.

July 25, 2022 at 4:48 pm #11735323

Yvette
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Paris (GMT+01:00)

Escalated