Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/rec/pre-defined/accept-language-header #13

Open
cportele opened this issue Dec 5, 2019 · 3 comments
Open

/rec/pre-defined/accept-language-header #13

cportele opened this issue Dec 5, 2019 · 3 comments

Comments

@cportele
Copy link
Contributor

cportele commented Dec 5, 2019

In our experience, it is a question what "supported languages" are. In reality there may be a mix, in particular, if HTML is a supported encoding. An example:

Some parts of the response to .../collections/{collectionId} or .../collections/{collectionId}/items will be provided by the software and some parts will be provided by the dataset or its metadata. Each of them will support different languages. For example, ldproxy currently supports English and German for the texts provided by the software, but the content may be in any language.

curl -i "https://services.interactive-instruments.de/t15/daraa/collections/CulturePnt/items/1" -H "Accept-Language: de" -H "Accept: application/geo+json" will return a response with the ldproxy controlled texts in German (just the link titles in this case) and some attribute value in Arabic, some in English or even a mix (because these are the values in the dataset).

What should the API return as "supported languages" in this case (and why)?

@heidivanparys
Copy link
Contributor

I guess this problem should be documented as a part of proposed action 2020.1 for the MIG, see also document MIG/11/2020/DOC7 (action to be discussed at the 11th MIG meeting).

@alexanderkotsev
Copy link
Contributor

Indeed so!

I guess this problem should be documented as a part of proposed action 2020.1 for the MIG, see also document MIG/11/2020/DOC7 (action to be discussed at the 11th MIG meeting).

@heidivanparys
Copy link
Contributor

GitHub-label "NS regulation"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants