You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All displayed components should be using english strings in en_US locale
What is actually happening?
The Picker and SearchBar components still use chinese strings
This does not happen on the demo site because it is using Preact (not React) and the components in question must have used some preact-specific context API. The Picker and SearchBar components are missing contextTypes to pull in the current locale from the parent LocaleProvider
Version
2.1.8
Environment
Windows 10, Chrome
Reproduction link
https://codepen.io/anon/pen/JvEqXM
Steps to reproduce
start
script inpackage.json
to usepreact
instead ofreact
forDEMO_ENV
in both start configurations切换到英文
button)What is expected?
All displayed components should be using english strings in
en_US
localeWhat is actually happening?
The
Picker
andSearchBar
components still use chinese stringsThis does not happen on the demo site because it is using Preact (not React) and the components in question must have used some preact-specific context API. The
Picker
andSearchBar
components are missing contextTypes to pull in the current locale from the parent LocaleProviderThe text was updated successfully, but these errors were encountered: