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
|
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
-
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)
Changed in ubuntu-devices-help: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → David Planella (dpm) |
description: | updated |
tags: | added: i18n |
tags: | added: nav |
Changed in help-app: | |
milestone: | none → 0.1 |
milestone: | 0.1 → 0.2 |
Changed in help-app: | |
milestone: | 0.2 → 0.1 |
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.
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.