Closed Bug 854039 Opened 12 years ago Closed 9 years ago

Propagate localized app names from Marketplace to WebPay/Bango

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kumar, Unassigned)

References

Details

(Whiteboard: [needs bango])

An app name can be localized by the author. When a user purchases an app, she should see the name in her locale if it exists.

Currently Marketplace only sends Solitude the default locale (bug 850720) so this is to send all locales and to pass those through to Bango.
Priority: -- → P3
Whiteboard: p=3
Whiteboard: p=3 → [needs bango]
Version: 1.2 → 1.5
The app name send to Bango looks to be limited to 100 chars https://github.com/mozilla/solitude/blob/master/lib/bango/forms.py#L151 , how can we store all translations given that restriction?
Assignee: nobody → david
David, I think there is an easier (and non-intuitive!) way to do this. Every time a purchase begins we use Bango's Billing Configuration API to configure the pay flow. If you check page 9 in the API https://wiki.mozilla.org/images/a/a7/BillingConfigurationAPI_v1.0.0.pdf you will see there is a pageTitle field. Despite the name, we can stick the current localized app name in that field and it will show up on the purchase page as an override to the Bango Number title. 

As an example, if a user makes a request to WebPay with pl (Polish) then you would configure pageTitle using the Polish app name (if it exists). If the user is browsing in en-US then configure pageTitle with the en-US name.

This is where WebPay currently configures pageTitle https://github.com/mozilla/webpay/blob/master/lib/solitude/api.py#L201
Assignee: david → nobody
Based on the recently announced future plans for the Marketplace to remove payments, closing these bugs.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.