Home›Support›English Support›[Resolved] Code element text is not detected for translations (Bricks builder)
[Resolved] Code element text is not detected for translations (Bricks builder)
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to detect strings for translation within a Bricks Builder element named "code". The client attempted to use existing documentation for Elementor and HTML but found that these guides did not work for their specific case.
I'm trying to detect Bricks Builder element (named "code") to detect strings for translations.
I tried playing around with configuration, but with no success.
Enabling the 'JSM Show Post Metadata' plugin I followed from the instructions in one of the articles and I see that:
Post metadata is inside the following part and I want to get the data from value field "code" for translations ...
--------------------
key: "_bricks_page_content_2"
value:
<omitted for brevity>
...
4 =>
array (
'id' => 'pmcvwx',
'name' => 'code',
'parent' => 'qtdefm',
'children' =>
array (
),
'settings' =>
array (
'code' => ' <p>No reliance on past performance:'
...
<omitted for brevity>
-------------------
Code elements should not be translatable as the code should be the same in both languages and not translated., but let me check it out and try to help.
I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
- hidden link
Kindly follow the steps below:
- Set up WPML
- Install Bricks
- Try to replicate the issue with simple example
- Share with me step by step guide on how can I check the issue
Hey !
Thanks for helping us. Yes, I understand that translating the code element is not ideal, but since we have a lot of content which requires customization for lists for example, we need it to be effective in our job. Also can choose what pages we translate and what content from it. That being said, we try to minimize such usage where possible.
1. Configured WPML with a single language to translate to.
2. Added Bricks Builder as the theme.
3. Created a "TEST PAGE" with "code" element and content inside.
How to replicate:
When opening up the "TEST PAGE" translations, it doesn't detect anything beside the name of the page. Uploaded also picture which makes it clear what I'm talking about.
just to update you, we are in contact with the theme author and he will update you directly upon in support ticket for any new changes or new features in the code.
For now, we can only suggest a manual translation method.
Regards.
Drazen
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.