Nemanja Karadzic

hm... this is strange... when calling /graphqlendpoint, Fluent's DetectLocaleMiddleware checks for FluentLocale_CMS key...

kinglozzer

Although if you’re using domain-based locales, I think that should happen automatically

kinglozzer

I wonder if you could add your own middleware which looks for an HTTP header and updates the locale to be used for that request?

kinglozzer

@Nemanja Karadzic I guess you could pass an HTTP header with the locale, then wrap your query resolvers in Fluent::withLocale() or whatever the equivalent is now?

Nemanja Karadzic

so no way of saying either graphql or fluent please serve content in spanish now