microsoft / microsoft/react-native-windows

Alert: 'OK' text needs to be localized

Open
#3,742 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Alert Area: Globalization bug Workstream: Component Parity
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

In the windows implementation of Alert, we currently have 'OK' hard-coded in English in the javascript. This should be localized. iOS does this on the native side, we should probably copy this pattern.

See vnext/src/libraries/alert/alert.windows.js

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vnext/src/libraries/alert/alert.windows.js and compare how the issue says iOS handles the alert action text on the native side. Trace the existing localization path used by the Windows Alert implementation; done means the OK label is no longer hard-coded in English and displays localized text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
localization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.