Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any i18n support? #173

Open
Loschcode opened this issue Apr 14, 2024 · 2 comments
Open

Is there any i18n support? #173

Loschcode opened this issue Apr 14, 2024 · 2 comments

Comments

@Loschcode
Copy link

Loschcode commented Apr 14, 2024

I'd like to know if there's i18n support so that it can show the right names of countries in the page language, I haven't seen it anywhere in the docs.

@Loschcode Loschcode changed the title Is there any i18n supportN Is there any i18n support? Apr 14, 2024
@blksnk
Copy link

blksnk commented Apr 17, 2024

We're also interested in using the package to provide our uses with this feature in their native language ! Any news on this ?

@goveo
Copy link
Owner

goveo commented Apr 20, 2024

@Loschcode No native i18n support yet.

As a temporary workaround, you can create a dictionary of translated country names (you can try to reuse locales from react-phone-input-2), update defaultCountries with it, and pass it to countries prop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants