Hello, i develop one app in RN, but I decided to translate in two languages. I use i18n-js. I also use i18n in strapi, and I duplicated some records in bakend. I create a LocalizationProvider, which catch the selected language. Text in UI is translating, but the content from bakend not. I change graphql query: before it was
query getCategories {
categories {
data {
id
attributes {
Name
Icon {
data {
attributes {
url
}
}
}
}
}
}
}
and i have data. Now i use locale and my query is this
query getCategories($locale: String!) {
categories(locale: $locale) {
data {
id
attributes {
Name
Icon {
data {
attributes {
url
}
}
}
}
}
}
}
, and recive a error
BlockquoteApolloError: Response not successful: Received status code 400
. Anybody can’t help me with this query ??