Select text popup not localized

Bug #1567377 reported by Víctor R. Ruiz
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Łukasz Zemczak
langpack-o-matic
Fix Released
High
Łukasz Zemczak
ubuntu-ui-toolkit (Ubuntu)
Invalid
High
Unassigned
webbrowser-app (Ubuntu)
Invalid
High
Olivier Tilloy

Bug Description

Test case.
- Switch the phone to Spanish.
- Open webbrowser-app.
- Go to slashdot.org
- Select a text.

Expected result.
- The select text dialog is translated to Spanish.

Actual result.
- Dialog is in English.

current build number: 301
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en

Tags: qa-silo

Related branches

Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :
Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :

Another popup weirdness: when I click on copy or select all, the dialog keeps opened. In other apps, it closes.

David Barth (dbarth)
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Changed in canonical-devices-system-image:
assignee: nobody → David Barth (dbarth)
status: New → Triaged
Changed in webbrowser-app (Ubuntu):
status: New → Triaged
Changed in canonical-devices-system-image:
importance: Undecided → Low
Changed in webbrowser-app (Ubuntu):
importance: Undecided → Medium
Changed in canonical-devices-system-image:
importance: Low → Medium
Revision history for this message
Olivier Tilloy (osomon) wrote :

The action labels are translated with i18n.dtr('ubuntu-ui-toolkit', "…") (see https://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/Ubuntu/Web/UbuntuWebView02.qml#L174).
I wonder why the translations from the UITK are not being picked up correctly.

Changed in webbrowser-app (Ubuntu):
importance: Medium → High
Revision history for this message
Olivier Tilloy (osomon) wrote :

> Another popup weirdness: when I click on copy or select all, the
> dialog keeps opened. In other apps, it closes.

This is bug #1556764.

Revision history for this message
Olivier Tilloy (osomon) wrote :

This is not just the text selection in the browser, the selection actions in QML TextFields are also untranslated. This suggests the issue is in the toolkit.

Revision history for this message
Olivier Tilloy (osomon) wrote :

(may be related: bug #1566341)

Changed in webbrowser-app (Ubuntu):
status: Triaged → Invalid
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

On my device, the following command has an empty output:

    phablet@ubuntu-phablet:/usr/share$ find . -name ubuntu-ui-toolkit.mo

so it looks like the UITK isn’t installing its translations any longer, that would be a recent regression.

Revision history for this message
Víctor R. Ruiz (vrruiz) wrote : Re: [Bug 1567377] Re: Select text popup not localized

Right, I saw over the weekend that other apps have the same problem.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → Invalid
Changed in langpack-o-matic:
assignee: nobody → Łukasz Zemczak (sil2100)
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Found the issue and working on a fix. As per my #ubuntu-touch discussion with pitti, it seems that the pkg domains in langpack-o-matic are handled invalidly. The reason it worked before (for ubuntu-ui-toolkit) was actually because of the earlier bug with merging tarballs. When we didn't merge the mapping files properly in the past, there was only one domain in the pkg_domain variable - the ubuntu-ui-toolkit. Now that there's more than one (since ubuntu-ui-toolkit has ubuntu-ui-toolkit and ubuntu-ui-toolkit-gallery), l-o-m actually only takes the last one it finds into consideration (so ubuntu-ui-toolkit-gallery).

With this fix (and using the new potemplate stats) we should get much more translations than before.

Changed in langpack-o-matic:
importance: Undecided → High
status: New → Confirmed
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
assignee: David Barth (dbarth) → Łukasz Zemczak (sil2100)
Changed in langpack-o-matic:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Triaged → Fix Committed
milestone: none → 11
Changed in canonical-devices-system-image:
status: Fix Committed → 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.