WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Support: untranslated contact support header

Open simison opened this issue 4 years ago • 3 comments

Expected behavior

Header would've said something like "Contact Support"

Actual behavior

Untranslated string at the contact support -header:

2020-11-03 15 04 46

Steps to reproduce the behavior

  • Open Help and Support
  • Tap "Contact Support"
  • Observe problem
Tested on [device], Android [version], WPAndroid [version]

Android, alpha-253. Phone & app in English.

simison avatar Nov 03 '20 13:11 simison

Thank you for the report @simison!

I tested with the latest alpha versions, alpha-254 and alpha-253, as well as the latest beta, 16.1-rc-1, and I was able to see the "Contact Support" heading appear correctly on the My Site > Profile > Help & Support > Contact Support page. I used APK versions from the https://github.com/wordpress-mobile/WordPress-Android/releases page

alpha-254 alpha-253 16.1-rc-1
Screenshot_20201104-104553 Screenshot_20201104-105217 Screenshot_20201104-110545

Tested on Pixel 3 Android 11.

Is it possible you could have been testing with a feature flag turned on that should be part of the testing steps or would it be possible for you to double check whether the latest commit is still showing the same problem for you?

designsimply avatar Nov 04 '20 18:11 designsimply

I'm simply getting my version from Play store's beta program, and I don't have tooling set up to test from latest commit.

I can double check when next beta goes out and report back?

simison avatar Nov 04 '20 18:11 simison

Re-tested and confirmed that I can see the untranslated contact support header if I change my device language to English (United Kingdom).

  1. On the device, go to Settings > System > Languages and input > Languages.
  2. Select "English (United Kingdom)" — note that the problem happens in other languages as well.
  3. In the app, go to My Site > Account > Help & Support > Contact Support.
  4. You should see a heading that says "Contact Support" at the top of the contact form.

Result: the heading says "@string/contact_support" instead of "Contact Support" or the translated string if your device is set to a language other than English (United States).

Language Settings Device language set to English (United Kingdom) Device language set to English (United States)
Screenshot_20210119-113023 Screenshot_20210119-103753 Screenshot_20210119-113003

Tested with WPAndroid 16.5-rc-2 on Pixel 3 Android 11 logged in as madefortesting062420 and with device language set to English (United Kingdom) for the first two screenshots and English (United States) for the third.

Note: the string does appear to be translated for en-gb, see https://translate.wordpress.org/projects/apps/android/dev/en-gb/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=2583853&filters%5Btranslation_id%5D=75748373

Aside: I noticed there was also an error (not fatal crash) logged in Sentry at the same time, which you can see mentioned in the app logs. I am not sure if it's related but here's what it looks like:

[Jan-19 17:19 STATS] 🔵 Tracked: support_new_request_viewed
[Jan-19 17:19 SUPPORT] ZendeskPlanFieldHelperSee issue #12064; zendesk-unknown-plan-ids [1040]
[Jan-19 17:19 API] Dispatching action: EncryptedLogAction-UPLOAD_LOG
[Jan-19 17:19 API] EncryptedLogStore: EncryptedLogStore: On UPLOAD_LOG
[Jan-19 17:19 UTILS] Captured Sentry Event: 5a7b6d2af7164794be8329a35bacf640

(internal reference: full logs avail at encrypted-logs.php?uuid=5fe743b9-0d46-4ff8-b90f-1d94b344e374 in MC)

(internal reference: Sentry event: 5a7b6d2af7164794be8329a35bacf640, just search for this in wordpress-android and you will see the case from the logs above—there is also a public link for the Sentry event)

designsimply avatar Jan 19 '21 22:01 designsimply