Giter Club home page Giter Club logo

Comments (5)

danharrin avatar danharrin commented on September 27, 2024 1

I am posting this same message across all Spatie Translatable issues & PRs

Hey all! Wanted to update you on where we're at with the translatable plugin.

I really appreciate your patience while this issue has been active. While I created the plugin for the community, I've never actually had a project where I needed to use it, and that's the same for the rest of the Filament team. As such, it's the reason why the plugin hasn't had as much attention as the others, and is much more unstable: I just don't have the environment to test all the use cases, nor the motivation to make it truly great.

As such, I put out a post a month ago and asked who in the community uses the plugin and has knowledge of plugin development. Luckily, Lara Zeus and Mohamed Sabil stepped forward, who are both authors of popular Filament plugins and are trusted by the community.

We are strongly considering handing over maintenance of the plugin to those developers, for the good of the community. You can find their fork at https://github.com/lara-zeus/translatable.

Since the new developers have lots of experience with the plugin and active projects that use it, they should be able to help debug issues easier and make a much more stable experience for other users.

If their work goes well until v4 is released, we will likely retire the plugin at that point and recommend the fork as an official replacement. If it does not go as expected and the community is unhappy, then we will reconsider this decision. I am closing this for now, and if we decide to take maintenance back officially then we will probably reopen it.

The existing plugin will continue to receive security updates indefinitely. Please let me know if you have any further questions.

Many thanks,
Dan

from filament.

atmonshi avatar atmonshi commented on September 27, 2024 1

this an attempt to fix the issue if anyone willing to test this PR I would appreciate the feedback.

from filament.

widdydev avatar widdydev commented on September 27, 2024

this an attempt to fix the issue if anyone willing to test this PR I would appreciate the feedback.

Thanks @atmonshi for the attempt to fix.
I've used your fork with the latest version, but unfortunately the PR did not fix the issue.
Feel free to test/debug with my provided reproduction repository.

from filament.

atmonshi avatar atmonshi commented on September 27, 2024

hey @widdydev,
can you check if this will fix your issue.
I cloned your repo and did get the error table must not be accessed before initialization

but after these changes it didnt appears, tried to refresh many times an go back and the error is gone :)

Screenshot 2024-05-26 at 4 44 23 AM Screenshot 2024-05-26 at 4 42 25 AM

from filament.

widdydev avatar widdydev commented on September 27, 2024

hey @widdydev, can you check if this will fix your issue. I cloned your repo and did get the error table must not be accessed before initialization

but after these changes it didnt appears, tried to refresh many times an go back and the error is gone :)

Screenshot 2024-05-26 at 4 44 23 AM Screenshot 2024-05-26 at 4 42 25 AM

Hi @atmonshi , thanks for your effort so far.

You're right, by adding the LocaleSwitcher to the RelationManager, the error is gone. Unfortunately this is a different usecase and is not desired in that case.

In my scenario the user selects the locale on the top of the page and all the subsequent/nested models should inherit this locale and output the values in the same locale without the need to select the locale again.
According to the official docs, it is possible to achieve that by adding the reactive activeLocale attribute to the Relationship manager.

Please reopen that issue.

from filament.

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.