Giter Site home page Giter Site logo

Comments (5)

indigoxela avatar indigoxela commented on September 2, 2024 1

Things to verify: is "translation" the right key for all entity types? My assumption is based on:

from feeds.

indigoxela avatar indigoxela commented on September 2, 2024

With #123 applied I got the language aware import working with nodes. We need to test taxonomy terms, too.

from feeds.

indigoxela avatar indigoxela commented on September 2, 2024

Testing is a bit complex. My setup might give some hints:

  • On another site I created a view to export a feed of (translatable) nodes
  • The same nodes I wanted to import in a Backdrop site (but the langcode should be kept)

The settings (roughly):

  • Attached to: none
  • Periodic import: off
  • Import on submission
  • HTTP Fetcher
  • Download content from a URL.
  • Common syndication parser
  • Parse RSS and Atom feeds.
  • Node processor
  • Create and update nodes.

There's no way to set a "dynamic" language with RSS (same as in Drupal IIRC), so I created two importers - one for each language.

from feeds.

herbdool avatar herbdool commented on September 2, 2024

Now that I've merged your PR to get tests running they're running on this one. As expected many still don't work but shouldn't stop this one from being merged. (I won't be able to look more closely for a couple weeks so someone else could)

from feeds.

herbdool avatar herbdool commented on September 2, 2024

It looks pretty legit. translation is always assigned in https://github.com/backdrop/backdrop/blob/1.x/core/modules/entity/entity.module#L348.

from feeds.

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.