PARINetwork / pari

Django/Wagtail based PARI webapp
http://ruralindiaonline.org
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

Display dynamic text and content (articles, albums, resources etc) in the language of the version of the website #201

Open jemjoseph opened 7 years ago

jemjoseph commented 7 years ago

As a vistor to the PARI website

I want to access content in the same language as the version of the website I am currently in So that I can Read/ View/ Listen to content in a language which I am familiar with

Overview: The PARI website has a huge archive of content in native Indian languages. Many of the visitors to the website might be more comfortable in native Indian languages rather than English and will find it more convenient to access the website in these languages. We are providing the option to the users to use the website in any of these chosen languages. Each of the languages will have its own version of the site, with a separate URL. The prioritized list of languages are Urdu, Marathi, Tamil and Hindi.

This story deals with displaying dynamic text and content (articles, albums, resources etc) in the same language as the version of the website in which the user is currently in.

Pre Condition: The PARI website should be available in different versions according to the multiple languages available and the user should be able to navigate to these websites.

User should be able to filter the content (articles, albums, resources etc) of pages of the website according to language

Albums, talking albums and videos should not be mandatory for the home page and gallery home page

In Scope:

Out of scope:

Acceptance Criteria Given that I am a visitor to a native language version of the PARI website When I navigate to a page in which content from CMS is loaded (e.g.. any story category, home page, videos etc) Then the language filter for the content should be set to the language of the site by default

Given that I am a visitor to a native language version of the PARI website When I navigate to a page in which list of content is shown (e.g.. any story category page, home page, videos, gallery highlights etc) Then only the list of contents in the language of the website should be shown on the page

Given that I am in a native language version of the website When there is no content in that particular language Then there should be a message shown to the user that content is not available in that language and the error message should be in the language of the sub domain

Given that I am in a native language version of the website When I visit any of the pages on the site Then any dynamic text should be displayed in the language of the website

Given that I am on the pages of the PARI website 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 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 am on the pages of the PARI website When a content is available in multiple languages (translations) Then I should be able to open the content in a language which is different from the language of the website and the language of the website should remain the same (should not change to the language in which I opened the content)

Given that I am in a native language version of the website When I search for content using the search option on the website Then, by default, only the content in the language of the sub domain should be shown to the use and only that language should be selected in the languages filter on the search page