ibitcy / eo-locale

🌏Internationalize React apps 👔Elegant lightweight library based on Internationalization API
https://eo-locale.netlify.com/
MIT License
348 stars 12 forks source link

fix case with id using dot #105

Closed tipicatala closed 2 years ago

tipicatala commented 2 years ago

Hi! Our project uses IDs in a format like this "AUTH.LOGIN": "Login", "AUTH.NAME": "Name", So when using the last version of the library, the IDs with dots are being ignored. I added checking for that case

pret-a-porter commented 2 years ago

Hi @tipicatala! Could you please add unit test to cover this case

tipicatala commented 2 years ago

@pret-a-porter done!