Automatically load translated pages according to the user language

Bug #1425025 reported by David Planella
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Help App
Fix Released
David Planella

Bug Description

The user should be presented with the content according to their user language automatically.

This means:
1. Detecting the language
2. Loading the matching translated pages

For the language detection (1), it seems the HTML app container should correctly set window.navigator.language:

For loading the page, this might work, although I'm not sure if it will make HTML5 experts cringe:

Tags: i18n nav phone

Related branches

David Planella (dpm)
Changed in ubuntu-devices-help:
status: New → Triaged
importance: Undecided → High
assignee: nobody → David Planella (dpm)
David Planella (dpm)
description: updated
Revision history for this message
Daniel Holbach (dholbach) wrote :

Don't want to step on anyone's toes in fixing this, but lp:~dholbach/ubuntu-devices-help/1425025-partial might help as a first step.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Ok, branch is landed, the index.html file will be a starting point for the 'phone' use-case.

tags: added: i18n
tags: added: nav
David Planella (dpm)
Changed in help-app:
milestone: none → 0.1
milestone: 0.1 → 0.2
David Planella (dpm)
Changed in help-app:
milestone: 0.2 → 0.1
David Planella (dpm)
Changed in help-app:
status: Triaged → In Progress
tags: added: phone
Changed in help-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.