Translation strings separation
Hi Brizy team,
I’m using Brizy Cloud and experiencing an issue with how text is divided into translation strings. I'm not using translation api and want to do the translation manually.
For example, the phrase “Quality by design” appears as three separate strings:
-
Quality
-
by
-
design
Initially, I thought manual line breaks were causing this. However, I recreated the phrase as one continuous text inside a single Text element, without any manual line breaks. I then adjusted the padding so the text naturally wrapped onto three lines. The translation system still split the phrase into separate strings.
The same issue occurs when I apply a different colour to part of a sentence.
This makes accurate translation difficult because other languages may require a different word order, a different number of words, or a completely different phrasing. Translating each fragment independently does not allow this.
Could you please clarify:
-
Can the entire phrase remain one translation string, regardless of automatic wrapping or different colours within the text?
-
Is there a setting or supported workaround to group these fragments?
-
Would applying styling through custom CSS preserve a single translation string, or would the system still split it?
I need to translate complete phrases while keeping control over their visual layout. Is this a known limitation or a bug?
Thank you!
-
Hi Alexei,
Thank you for contacting us.
The current behavior is a limitation of Brizy Cloud and is by design. The translation system treats separately formatted text fragments as individual strings, which means applying different colors or formatting may result in a phrase being split into multiple translation strings.
Unfortunately, there is currently no setting to combine these fragments into a single translation string. Applying custom CSS may help with styling, but it does not guarantee that the text will be treated as one string by the translation system.
We recommend keeping the entire phrase within a single text element without applying different formatting or line breaks.
Best regards,
Ariel H.0 -
Dear Ariel,
Thank you for your response. Following your advice, I kept the entire phrase in a single text element without formatting or manual line breaks.
After translating the full string, I adjusted the column width as a percentage to achieve the desired text wrapping. This works well and keeps the phrase as a single translation string.
My initial mistake was using padding on the text element to control the wrapping. Although it looked fine in the editor, the layout did not display correctly on the live site. Adjusting the column width instead appears to solve both issues.
I thought I would share this in case it helps other users facing the same problem.
Best regards,
Alexei0
Please sign in to leave a comment.
Comments
2 comments