System language is pt_BR, but some strings are in pt

Bug #1431914 reported by Tiago Hillebrandt on 2015-03-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
High
Unassigned

Bug Description

The system language is set to Portuguese (Brazil), however some strings are being displayed in Portuguese (Portugal).

For example, this string is translated in both languages:

https://translations.launchpad.net/ubuntu-clock-app/utopic-14.10/+pots/ubuntu-clock-app/pt/33/+translate

https://translations.launchpad.net/ubuntu-clock-app/utopic-14.10/+pots/ubuntu-clock-app/pt_BR/33/+translate

However, using the dev build, the Portuguese (Portugal) string is being loaded.

$ adb shell system-image-cli -i
current build number: 1
device name: mako
channel: ubuntu-touch/devel
alias: ubuntu-touch/vivid
last update: 2015-03-13 10:51:22
version version: 1
version ubuntu: 20141201
version device: 20141119
version custom: 20141201

description: updated
description: updated
Nekhelesh Ramananthan (nik90) wrote :

Thanks for taking the time to report this bug. Does this affect the clock app alone or also else where in the system? I would be really curious if you said it is inherent to the clock app alone since we use standard gettext and the system language is set by the system settings app.

Changed in ubuntu-clock-app:
importance: Undecided → Medium
importance: Medium → High

@nik90 Thanks for the quick reply!

So far the only app I can see with this problem is the clock one.

However, I noticed some strings in pt on that intro screen (choose language, password, connect to network, etc), but I am not sure what is the package name in Launchpad to confirm if strings were translated to pt_BR or not.

Just found it, is the unity8 package.

For example, this string was displayed in pt instead of pt_BR on the tour/intro screen:

https://translations.launchpad.net/unity8/trunk/+pots/unity8/pt/95/+translate

https://translations.launchpad.net/unity8/trunk/+pots/unity8/pt_BR/95/+translate

Nekhelesh Ramananthan (nik90) wrote :

@tiago, So I talked to few others developers (dobey, dpm) and it seems that gettext automatically falls back to language pt if language pt_BR don't have that string translated. If language pt also doesn't have that string translated, then it appears untranslated. This is also the case for other languages as well like ca, ca@valencia etc..

The strings that you pointed out have been translated, but it hasn't been pushed out as an updated to the store. As a result, your phone running an older build of clock app is defaulting to pt in those cases.

I have requested the Ubuntu QA team to test the latest build of clock v3.3.219 and if approved, it will be released as an update asap.

Changed in ubuntu-clock-app:
status: New → Confirmed
milestone: none → 3.3
status: Confirmed → Fix Committed
Nekhelesh Ramananthan (nik90) wrote :

I will mark this "Fix Released" when the new version of clock is pushed as an update.

Nekhelesh Ramananthan (nik90) wrote :

@tiago, On that note, if you do find time, please help clock app reach 100% translation in brazilian portugese at https://translations.launchpad.net/ubuntu-clock-app.

@nik90 Thanks for clarify!

Btw, Brazilian Portuguese translations are completed :)

Changed in ubuntu-clock-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers