About translating flexicontent fields configuration parameters via Falang

More
3 years 7 months ago #79276 by grabit
Any news because I am stuck with pages not translated anymore.

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #79277 by ggppdk
Hello

about copy button not working

the textarea form element
origText_attribs

appears twice inside the HTML code,
(name="origText_attribs" appears 2 times)
deleting one of them seems to fix the copy button
- this is something that falang author should examine, why same form element name is used twice ?

about the display as parameters-area instead of textarea, i don't know, we always had this as "textarea"
Code:
<textarea class="form-control" readonly="" name="origText_attribs" aria-invalid="false"> ... </textarea> <textarea name="origText_attribs" style="display:none"> ... </textarea>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 3 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79286 by grabit
I transmitted the message to the developer and he told me the next version is already corrected. But he found the problem when there is no translation visible. “The problem actually it's when there are php code in the attribs value of the fields”

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79287 by ggppdk
Hello

you mean custom PHP code as parameter value ?
i guess there is some issue with escaping it

there is little we can do inside FC about it
if you do not need PHP code inside parameter then avoid it so that you can translate the field

or just do not use falang for some field
use language string for field label
and language strings inside field parameters, most / all parameters that have custom text, can take a language string


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79290 by grabit
OK I understand but the problem is that there is always php code inside the parameter values even if I don't use it (your default values)

It seems that I can't translate the one I saved since the introduction of the default php code (maybe) because I don't have explanation why some are displaying well and other not.

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79295 by ggppdk
Hello

go and edit the field

- enable custom code
- remove the code from the parameter
- disable custom code

save the field
this will save empty value into the parameter

until you re-edit and re-save the field, the value will remain empty
and you can translate the field


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.286 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline