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

Move the list of countries to an external file… maybe? #102

Open
1 task done
taflanidi opened this issue Apr 3, 2023 · 0 comments
Open
1 task done

Move the list of countries to an external file… maybe? #102

taflanidi opened this issue Apr 3, 2023 · 0 comments
Assignees

Comments

@taflanidi
Copy link
Collaborator

taflanidi commented Apr 3, 2023

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • read our Wiki;
    • read the entire Known issues section;
    • checked that my feature request isn't already filled;
    • searched StackOverflow's input-mask tag for similar problems.

Summary

Let there be a *.CSV-or-something file with the list of all countries to pick up from.

https://github.com/google/libphonenumber/tree/master/resources

Motivation

It would be easier to expand & maintain. Maybe.

Describe the solution you'd like

Make sure to make it localisable :D

https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package
https://developer.apple.com/documentation/xcode/localizing-package-resources

Describe alternatives you've considered

Leave the sources as is.

@taflanidi taflanidi self-assigned this Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant