Git Product home page Git Product logo

Comments (5)

SahAssar avatar SahAssar commented on July 21, 2024

@Puddingboy Is your backend language (the locale setting in config.yml) set as the same as the key of the first locale in the locales setting? cause if it is it should work pretty much as detailed, I'm going to working on a update to make this more obvious or fix it permanently though.

from translate.

Puddingboy avatar Puddingboy commented on July 21, 2024
locales:
    nl_NL:
        label: Nederlands
        slug: nl
    fr_FR:
        label: Français
        slug: fr
    en_EN:
        label: English
        slug: en

This is my locale setting, in which Dutch is my main language.

What happens is that someone can click on a page in the pages menu and they are redirected to some kind of parentpage. Somehow parentpage and mainlanguage are not in sync.

from translate.

SahAssar avatar SahAssar commented on July 21, 2024

@Puddingboy what is your backend language set to? Is that also set to nl_NL?

from translate.

Puddingboy avatar Puddingboy commented on July 21, 2024

It's set to english it seems. I have yet to find the file/tab where these settings are defined. In the translations it doesn't offer me an option to switch.

*edit: Found it and set to Dutch. so my config.yml didn't need locale to be replace with locales(which I did). Misunderstanding on my side

from translate.

SahAssar avatar SahAssar commented on July 21, 2024

@Puddingboy I added a line in the readme and a flash message about this, hopefully it should be more clear now.

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.