Git Product home page Git Product logo

Comments (6)

SahAssar avatar SahAssar commented on August 23, 2024

Hey @fojtCZ,

So, both the default language (first in locales) and your bolt backend language is Czech, right? Is this on bolt 2.2 or 3.0? Also, can you check in your browsers dev tools if you have any errors there?

from translate.

martinfojtik avatar martinfojtik commented on August 23, 2024

Hi @SahAssar,

yeah, i set my default language to Czech. I am using latest Bolt 3.0. I don't see any errors in dev tools.

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

@fojtCZ could you post your contenttypes.yml, your extension config (translate.animal.yml) and your config.yml so that I can reproduce the issue?

Thanks!

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

@fojtCZ Oh, wait, you're using the latest stable 3.0? Cause this will only work in the dev version of bolt 3.0 until 3.0.10 is released...

from translate.

martinfojtik avatar martinfojtik commented on August 23, 2024

@SahAssar yes, i am using stable version of Bolt 3.0.9.

my translate.animal.yml

locales:
    cs_CZ:
        label: Čeština
        slug: cs
    en_GB:
        label: English
        slug: en

routing_override: false
menu_override: false
translate_slugs: false

from translate.

SahAssar avatar SahAssar commented on August 23, 2024

@fojtCZ Well, then that's the issue... This extension will not work with 3.0.9 or earlier versions. It will only work with stable when the next bolt version is released. Please see #24.

If your interested in why, it's because there was a small bug in PRE_HYDRATE, so this callback basically does nothing in 3.0.9.

I'm closing this, please feel free open a new issue if you run into the same issue on a compatible bolt version! :)

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.