Skip to content

CSV export email messages for pt_BR, zh_CN, zh_TW fall back to en_US, instead of using user language #10149

@nagpai

Description

@nagpai

Email notifications for CSV exports for the following supported languages pt_BR, zh_CN, zh_TW fall back to English.

To Reproduce

  1. Browse to WP Admin -> Users -> Profile
  2. Change the profile language to any of the languages above.
  3. Run a CSV export of transactions, payouts or disputes, making sure you have more than a single pagination to trigger a server export
  4. Check the language of the email triggered, and the CSV contents. It should be in user language but is provided in US English.

Detailed observations here #10003 (review)

Additional context

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions