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

Breadcrumbs show labels in wrong language even if a subtag label would be available #579

Closed
osma opened this issue Jan 31, 2017 · 2 comments

Comments

@osma
Copy link
Member

osma commented Jan 31, 2017

At which URL did you encounter the problem?

http://localhost/Skosmos/iptc/en/page/03015001
http://localhost/Skosmos/iptc/en/page/02012002

What steps will reproduce the problem?

  1. Use IPTC Subject Code with content language English
  2. Browse individual concepts

What is the expected output? What do you see instead?

The breadcrumb path shows labels for some concepts in Finnish, e.g. " Laki Oikeus Rikokset > corporate crime > Kavallus". Expected that they would all be in English.

Apparently the breadcrumb queries don't try to match subtag languages such as en-GB so they return a label in a random language instead.

@osma osma added this to the 1.9 milestone Jan 31, 2017
@osma osma self-assigned this Jan 31, 2017
@osma osma closed this as completed in c0c4ffa Jan 31, 2017
@osma
Copy link
Member Author

osma commented Jan 31, 2017

Still need to backport so that we can publish IPTC

@osma osma reopened this Jan 31, 2017
osma added a commit that referenced this issue Feb 3, 2017
…rty queries, even if any language is requested. Fixes #579

(cherry picked from commit c0c4ffa)
@osma
Copy link
Member Author

osma commented Feb 14, 2017

Backported.

@osma osma closed this as completed Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant