Multilingual

Permalink Browser Info Environment
Hi,

is there any possibility to create a multilingual block or to use the "C5DK Multilingual" block add-on to embed it to an own bigger block?

Best wishes
Danny

Type: Pre-Sale
Status: In Progress
Resipisco
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Danny,

Not sure what you mean with "any possibility to create a multilingual block". You talking about specific fields or all fields? And what about embedding? If you can give examples (URLs, screenshots, whatever), I will see what I can do for you. Happy to help you out!

Kind regards,

Ramon
Resipisco replied on at Permalink Reply
Resipisco
Hi Ramon,

I'm talking from to have the lingual flexibility like with "C5DK Multilingual" content block, to integrate a multiligual content in a new block. Right now I cannot use a C5DK multilingual block in block-designer-pro, yes?.
Or do you have a possibillity I don't now?

Best wishes
Danny
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Danny,

No, you can not use a block in a block. There is not a multilingual "field type" to use either (yet). Would be happy to work with you to create such a field type. There won't be a "Settings page" like in the C5DK Multilingual Content block, as you can create blocks with Block Designer, not settings pages or anything alike. So you'll have to chose your languages straight from the block instead of setting that up on a page. It can not interact with the flags (clicking) from the C5DK Add-On either, as this is a specific package by another author. Not sure what is your perfect outcome/situation, so let me know what you think and how you'd like to see it work (step by step maybe).

We could have it interact with the C5DK Multilingual Content maybe, but I'd have to:

- purchase the Add-On;
- inspect the code and make the HTML to be able to change content for the language;
- retrieve the languages from this Add-On;

But... what happens when this Add-On is not installed... the block should still work. So, not sure what to do then. And what if the Add-On developer decided to make the HTML/javascript different, and you update this Add-On, then the block you created with Block Designer wouldn't work anymore because of an update. So I see a lot of issues if one has to interact with the other. Maybe it would be ideal to have something standalone, so you don't have these issues at all (and don't need to make all the checks if/else etc.).

Kind regards,

Ramon
Resipisco replied on at Permalink Reply
Resipisco
Hi Ramon,

the C5Dk block was only an example. If you can make it work in depence from the C5 core language switch block, it will be fine. Because the C5DK blocks have also dependency of this core block (additional to their integrated switch).

Ok step by step (Implementation Level 1):
1.) make a multiligual content field available for HTML Content.
2.) make that field working, it can add/delete language content versions in C5 core edit mode.
3.) make the shown laguage content version in dependency of the C5 core language Switch
4.) if the Website has a language option available where no Content version exist it should Show the first language content version as Default.

Advance (Implementation Level 2):
lables/textfields with only text inside the block-designer-pro should provide language versions in the block-designer Editor to get them adaptiv to the Website language.

Hope that helps you to understand my idea.

Best wishes
Danny

concrete5 Environment Information

C5 v5.7.5.9

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.