GithubHelp home page GithubHelp logo

Comments (10)

dlitvakb avatar dlitvakb commented on July 28, 2024

Hey @designbysoil,

Found an issue with the gem, fixing and pushing right now. The gem was trying to pull the option as :locale instead of 'locale'.

The way to use locales is by adding the locale: 'your_locale_code' or locale: '*' option in the cda_query: option block in the configuration file.

Will get this fix in a few minutes.

Cheers

from jekyll-contentful-data-import.

designbysoil avatar designbysoil commented on July 28, 2024

Thanks @dlitvakb looking forward to the fix.

from jekyll-contentful-data-import.

dlitvakb avatar dlitvakb commented on July 28, 2024

Hey @designbysoil,

Version 1.4.0 was just released fixing the issue with locale: '*'

Cheers

from jekyll-contentful-data-import.

designbysoil avatar designbysoil commented on July 28, 2024

Thanks @dlitvakb!

from jekyll-contentful-data-import.

designbysoil avatar designbysoil commented on July 28, 2024

Noticed that with locale: '*' the images data has missing keys like title and url.

Without setting the locale option or with a single locale set as locale: 'en-US'

image:
    title: 'Photo of the event'
    url: "//images.contentful.com/abc/abc/abc/event.jpg”

With locale: '*'

image:
    en-US:
      sys:
        type: Link
        linkType: Asset
        id: xxxx

Only the sys key comes through the title, url etc. are missing.

from jekyll-contentful-data-import.

dlitvakb avatar dlitvakb commented on July 28, 2024

Hey @designbysoil,

This has been found and solved, you can follow #31 for progress, I will make a patch release after that's merged.

Cheers

from jekyll-contentful-data-import.

designbysoil avatar designbysoil commented on July 28, 2024

Hey @dlitvakb,

Encountered another issue with locale data of images. When an entry is imported the linked image data of the additional locale is only showing image.ar-QA.sys.id. Other keys are missing:

⚠️ image.ar-QA.title
⚠️ image.ar-QA.url

See screenshot:
http://dl.dropbox.com/u/450152/localised-image-date-events_yaml.png

Can the title and url of the localised image be added to the image data?

from jekyll-contentful-data-import.

dlitvakb avatar dlitvakb commented on July 28, 2024

Hey @designbysoil,

I'll take a look at it again on Monday

Cheers

PS: Reopening

from jekyll-contentful-data-import.

dlitvakb avatar dlitvakb commented on July 28, 2024

Hey @designbysoil,

Can you open a support ticket and request for me?

Please include the space credentials in the ticket so I can check for your specific issue.

I'm testing with the space you provided me last time for fixing this issue, and there is no localized content with issues.

Cheers

from jekyll-contentful-data-import.

designbysoil avatar designbysoil commented on July 28, 2024

Hey @dlitvakb,

There is a ticket #13319. I have specified the asset I am trying to get the localised image data of.

Thanks,

from jekyll-contentful-data-import.

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.