Back to Bootstrap 4 Page Builder Support

Slevin K.
Slevin K.

Hi,

Can you tell me if this plugin supports translation ?

Thanks, L.

Vladimir
Slevin K.
Slevin K.

Hi,

thanks, but it's not what i'm looking for. I need to translate all the entire page same as translation dropdown. I've tried to edit my code to use page_builder_html variable with [fr] or [en] locale. and calling it with {{this.page[vieawBag][page_builder_html ][activeLocale]}} and it works but not on {%partial%} or {%component%}. Translation test Do you have any idea if it's possible to extend your plugin to manage this ?

best, L

Vladimir
Vladimir

Hi.

I added the ability to use language suffixes for partials and contents.

https://b4builder.pkurg.ru/docs#item-1-8

Slevin K.
Slevin K.

Thanks a lot, it seems to work, even if it would be better to have the translation support on the backend directly. :)

Just to let you know, to make the front end editor work good, i need to add the generated style sheet to the component,

canvas: {
      styles: [
    ...
      'http://manali-lodge.test/b4bulder.css?page={{this.page.id}}.htm',
    ...
    },

and also to have a better UX with the editor , i need to add this to my css code

div.gjs-pn-panel {
    position: fixed;
    top: 0;
}

1-5 of 5