Git Product home page Git Product logo

Comments (8)

SahAssar avatar SahAssar commented on August 23, 2024 1

Hmm, It seems like live-edit and preview has the same problem, which should be fixable. Basically we need to set the bolt locale around here: https://github.com/bolt/bolt/blob/release/2.2/src/Controllers/Frontend.php#L172 to make sure that the correct content is fetched and then make sure that we inject a hidden input element into the rendered live-edit doc that contains the locale...

So, it seems possible and I'll hopefully try it out tomorrow, but it probably won't be that high on my list of priorities compared to require_slugs or other features listed in #16

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

I don't think that I can get live-edit working, but preview should be possible. The hard part would be to make sure that the rest of the page (menu, other content pulled in and so on) is in the locale selected in the editcontent page... I personally have never really used the live-edit or preview functionality much, are these something that you use much in bolt?

from translate.

frozenshadow avatar frozenshadow commented on August 23, 2024

I see, that’s a shame. I actually picked Bolt because of the live edit feature.
Is there anything I can do to make it work, maybe a workaround…?

from translate.

frozenshadow avatar frozenshadow commented on August 23, 2024

Good to hear it’s fixable!
Looking forward for the fix (no pressure off course ;)

from translate.

KeizerDev avatar KeizerDev commented on August 23, 2024

Any news on this?

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

@KeizerDev Sorry, no. I'm working on 3.0 compatibility now and can hopefully get this working in that version and then perhaps backport it.

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

This is fixed in #26, but that is going to be 3.0 only, and the 2.2 and 3.0 versions of the extensions won't be compatible. After I get the 3.0 version out the door I can look at getting it on 2.2 if there is still demand.

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

Fixed in #26 which will soon be released for 3.0, so I'm closing... Please reopen if there is demand for this in 2.2.

from translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.