Filtering content (albums, resources etc) according to its language in all pages
#200 opened on Aug 22, 2017
Repository metrics
- Stars
- (39 stars)
- PR merge metrics
- (PR metrics pending)
Description
As a visitor to the PARI website I want to select the content (albums, resources etc) in all pages according to the language it is written in So that I can narrow down the content to languages I am familiar in
Overview: The PARI website has content in multiple languages - English and a number of languages spoken in India. Currently, there is an option to filter the content according to the language in some of the pages. (Different Story categories, Videos, Exhibitions etc).
However, this is currently missing in a few other pages. The purpose of this story is to provide this filter capability in all the pages where it is applicable.
Pre Condition: Albums, talking albums and videos should be made optional for the home page and gallery home page
In Scope:
- PARI Homepage, Albums, Gallery Highlights, Faces, Talking Albums, Resources
- Displaying the different languages in which content is available on the web page and selecting one of the languages
- Displaying only the content in the language chosen by the user for the web page
- If no content is available in the language selected by the user, displaying a message informing the user of the same.
- Displaying the language for which content is currently shown on the web page
- If any of the content on the web page is available in multiple languages, displaying the languages in which the content is available and allowing the user to view the content in any of those languages
- If any of the content on the web page is available in multiple languages, changing the language after opening the content
Out of scope:
- Pages on the PARI web page other than Homepage, Albums, Gallery Highlights, Faces, Talking Albums, Resources
- Translating the static text on the web page to the language that the user has selected
- Navigating to other language versions of the PARI website
Acceptance Criteria Given that I am a visitor to the PARI website When I am on the pages of the website Then I should be able to see the list of languages in which content is available on the website and select one of the languages
Given that I am on the pages of the PARI website When I select the languages in which I want to access content Then only the content which is in the selected language should be displayed
Given that I selected the language in which I want to access content When there is no content in the selected language Then a message should be displayed to the user that there is no content in the selected language
Given that I am on the pages of the PARI website When a content is available in multiple languages (translations) Then I should be able to see the list of languages in which the content is available
Given that I select the language in which I want to access content When a content is available in multiple languages (translations) Then by default, the article should be shown in the language that I selected
Given that a content is available in multiple languages (translations) When I open the content and am able to view it Then I should be able to change its language
Questions Jayakumar to confirm that this does not require any changes in the CMS and that the user can add a translation to all the pages in CMS.