Code Monkey home page Code Monkey logo

Comments (5)

dimsav avatar dimsav commented on May 31, 2024

Could anyone using Ardent respond to this?

from laravel-translatable.

RyanThompson avatar RyanThompson commented on May 31, 2024

I will be happy to as soon as I get it implemented.

from laravel-translatable.

joachimVT avatar joachimVT commented on May 31, 2024

I am facing the same problem, is there already any solution ?

When the name is not valid in the translation table, a record is still created in the country table. Shouldn't that be stopped ? When there is an error no record should be created...

from laravel-translatable.

mvdstam avatar mvdstam commented on May 31, 2024

I've come up with a solution, by simply coming up with a base model that both extends Ardent and uses the Translatable trait: https://github.com/mvdstam/ardent-translatable/.

It's also on Packagist, but use it on your own risk 😃. I've done some preliminary testing and everything seems to play pretty nice with each other. Using this base class also fixes #12.

from laravel-translatable.

dimsav avatar dimsav commented on May 31, 2024

👍 @mvdstam I will put this on the readme file as soon as it is stable.

from laravel-translatable.

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.