DEV Community

Cover image for How do you deal with internationalization?
#!/bin/lzr
#!/bin/lzr

Posted on

How do you deal with internationalization?

Hello there. In my case I'm trying to validate international phone numbers. I found a JavaScript plugin here but I would like to know what the community uses for this particular situation or in cases like language translation, time, currencies, etc.

Top comments (1)

Collapse
 
wulymammoth profile image
David • Edited

It's typically a rather large under-taking typically made better by a web-framework that somehow may employ gnu.org/software/gettext/ and CLDR - cldr.unicode.org/. Different web frameworks have different ways of handling this, but it should certainly be considered early on.

If this is scoped to a single use-case, then that library may be worth using, but for i18n and localization, you'll definitely want to dig much deeper into what your needs are and getting it set up