Automatically load translated pages according to the user language
Bug #1425025 reported by
David Planella
on 2015-02-24
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Help App |
High
|
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.
https:/
For loading the page, this might work, although I'm not sure if it will make HTML5 experts cringe:
http://
Related branches
lp:~dpm/help-app/phone-navigation
- Daniel Holbach (community): Approve on 2015-03-18
-
Diff: 2167 lines (+913/-695)21 files modified.bzrignore (+1/-0)
HACKING (+20/-4)
Makefile (+5/-2)
app/help.ubuntuhtmlproject (+61/-0)
edit-here/Makefile (+52/-49)
edit-here/content/pages/apps.md (+2/-2)
edit-here/content/pages/basic.md (+1/-1)
edit-here/content/pages/index.md (+3/-3)
edit-here/content/pages/scopes.md (+1/-1)
edit-here/content/pages/security.md (+1/-1)
edit-here/content/pages/settings.md (+2/-2)
edit-here/content/pages/store.md (+1/-1)
edit-here/content/pages/ui.md (+1/-1)
edit-here/index.html (+125/-18)
edit-here/po/help.pot (+599/-601)
edit-here/themes/phone/static/css/app.css (+18/-6)
edit-here/themes/phone/static/js/jquery-1.11.2.min.js (+4/-0)
edit-here/themes/phone/templates/base.html (+1/-0)
edit-here/themes/phone/templates/index.html (+9/-0)
edit-here/themes/phone/templates/page.html (+2/-3)
edit-here/themes/web/static/css/help-app.css (+4/-0)
David Planella (dpm)
on 2015-02-24
| Changed in ubuntu-devices-help: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| assignee: | nobody → David Planella (dpm) |
David Planella (dpm)
on 2015-02-24
| description: | updated |
| Daniel Holbach (dholbach) wrote : | #1 |
| Daniel Holbach (dholbach) wrote : | #2 |
Ok, branch is landed, the index.html file will be a starting point for the 'phone' use-case.
Daniel Holbach (dholbach)
on 2015-03-05
| tags: | added: i18n |
Daniel Holbach (dholbach)
on 2015-03-06
| tags: | added: nav |
David Planella (dpm)
on 2015-03-17
| Changed in help-app: | |
| milestone: | none → 0.1 |
| milestone: | 0.1 → 0.2 |
David Planella (dpm)
on 2015-03-17
| Changed in help-app: | |
| milestone: | 0.2 → 0.1 |
David Planella (dpm)
on 2015-03-18
| Changed in help-app: | |
| status: | Triaged → In Progress |
Daniel Holbach (dholbach)
on 2015-03-18
| tags: | added: phone |
Daniel Holbach (dholbach)
on 2015-03-18
| Changed in help-app: | |
| status: | In Progress → Fix Released |
To post a comment you must log in.

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.