The language specific metadata extraction was broken with these changes, had to revert them in order to get language specific metadata extraction into a working condition again.
- Currently, the locale header is statically set to “de”, regardless of which locale is set in the URL parameters.
- Therefore, all retrieved metadata (description, names, etc.) were in German.
- This PR implements a mechanism that extracts the locale value from the specified URL.
- As a fallback, URLs without locale parameters are automatically set to de, which corresponds to the original behavior.
Advantages:
All metadata is retrieved in the specified language.