Found a sollution:
import { useQueryParams } from "@strapi/helper-plugin"
Use this to get the current locale from the query params
Found a sollution:
import { useQueryParams } from "@strapi/helper-plugin"
Use this to get the current locale from the query params