Skip to content

[Due for payment 2026-07-29] Deprecate Localize.translateLocal #64943

Description

@roryabraham

I'm plagiarizing Tim G's proposal here, because this is essentially an analog of the same problem.

Problem

When a UI view calls a method that uses Localize.translateLocal (i.e: an impure function), the UI view will become out-of-date because it was not re-rendered when the preferredLocale changed.

Solution

Deprecate Localize.translateLocal.

Spreadsheet with the remaining items https://expensify.slack.com/archives/C05LX9D6E07/p1767074466145849?thread_ts=1767052675.446179&cid=C05LX9D6E07

Issue OwnerCurrent Issue Owner: @parasharrajat

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ImprovementItem broken or needs improvement.Overdue

Type

No type

Projects

Status
HIGH

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions