Adding ?lang=<ISO 639-1 Code for language> to URL should redirect to the appropriate translation of the article
#339 创建于 2018年9月20日
仓库指标
- 星标
- (39 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Consider this example
English article https://ruralindiaonline.org/articles/pathways-to-the-clouds-driven-by-poverty
The Hindi translation should also be accessible https://ruralindiaonline.org/articles/pathways-to-the-clouds-driven-by-poverty?lang=hi
If translation does not exist then there should be an appropriate message.
This interaction is very similar to listings e.g. Categories, Author page etc. For example Category: Things we do https://ruralindiaonline.org/stories/categories/things-we-do
Marathi articles of this category are accessible here: https://ruralindiaonline.org/stories/categories/things-we-do?lang=mr
Consider another example. Category Folklore does not have any Mizo articles. Thus the page https://ruralindiaonline.org/stories/categories/folklore?lang=lus has an appropriate message.