Merge lp://staging/~jakobunt/ubuntu-start-page/fix-lang into lp://staging/ubuntu-start-page
Proposed by
Jakob Unterwurzacher
Status: | Merged |
---|---|
Approved by: | Martin Albisetti |
Approved revision: | 101 |
Merged at revision: | 100 |
Proposed branch: | lp://staging/~jakobunt/ubuntu-start-page/fix-lang |
Merge into: | lp://staging/ubuntu-start-page |
Diff against target: |
411 lines (+38/-0) 34 files modified
translation-scripts/translation-functions.sh (+5/-0) www/10.04/index.html.ar (+1/-0) www/10.04/index.html.ast (+1/-0) www/10.04/index.html.bg (+1/-0) www/10.04/index.html.bn (+1/-0) www/10.04/index.html.ca (+1/-0) www/10.04/index.html.crh (+1/-0) www/10.04/index.html.da (+1/-0) www/10.04/index.html.de (+1/-0) www/10.04/index.html.el (+1/-0) www/10.04/index.html.en (+1/-0) www/10.04/index.html.es (+1/-0) www/10.04/index.html.fi (+1/-0) www/10.04/index.html.fr (+1/-0) www/10.04/index.html.gl (+1/-0) www/10.04/index.html.he (+1/-0) www/10.04/index.html.hr (+1/-0) www/10.04/index.html.hu (+1/-0) www/10.04/index.html.id (+1/-0) www/10.04/index.html.is (+1/-0) www/10.04/index.html.it (+1/-0) www/10.04/index.html.ja (+1/-0) www/10.04/index.html.ko (+1/-0) www/10.04/index.html.lv (+1/-0) www/10.04/index.html.nds (+1/-0) www/10.04/index.html.nl (+1/-0) www/10.04/index.html.pt-br (+1/-0) www/10.04/index.html.ro (+1/-0) www/10.04/index.html.ru (+1/-0) www/10.04/index.html.sk (+1/-0) www/10.04/index.html.sv (+1/-0) www/10.04/index.html.th (+1/-0) www/10.04/index.html.vi (+1/-0) www/10.04/index.html.zh-cn (+1/-0) |
To merge this branch: | bzr merge lp://staging/~jakobunt/ubuntu-start-page/fix-lang |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Albisetti (community) | Approve | ||
Roman Yepishev (community) | Approve | ||
Review via email: mp+24307@code.staging.launchpad.net |
Description of the change
r100:
Correct the language of the google results by inserting a hidden hl field
<input type="hidden" name="hl" value="$lang" />
in all the index.html.$lang
r101:
Add logic to translation-
automatically.
Tested to produce the exact same output files as we have from r100.
To post a comment you must log in.
Verified that Google language is indeed changed by modifying the content of the <form> in firebug by adding respective items for Russian (ru) and German (de).