Need help. JS SDK. getEntries() with locale filter returns all the entries with empty fields

Ok so I have several entries of heroSlide type, all of the fields have localization enabled. All of the entries are “single locale”, some are en-US and some are in another locale.

I query them like this

client.getEntries({
    content_type: 'heroSlide',
    locale: 'en-US',
})

Which gets me ALL of the entries, with those entries which have non-english locale in the app missing most of the fields. What am I doing wrong? How do I get only the en-US entries with all of the fields intact?

Edit:

To be clear, it works pretty well when I translate content from one locale to the other. But for some content types it doesn’t make sense to “translate” an entry, and instead I need different entries in different locales.

1 Like