react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Incorrect title's language when custom localization is used

Open styfrombrest opened this issue 4 years ago • 1 comments

Steps to reproduce: I'm using react-phone-input-2 with custom localization like it's described in the docs(https://github.com/bl00mber/react-phone-input-2#custom-localization).

Component correctly displays list of the countries according to current locale(e.g. German): 2021-09-06_12-32

Observed result: title is always in English 2021-09-06_12-33

Expected result: title should be also translated according to current locale

styfrombrest avatar Sep 06 '21 10:09 styfrombrest

Created PR with fix: https://github.com/bl00mber/react-phone-input-2/pull/462

styfrombrest avatar Sep 10 '21 14:09 styfrombrest