Echo JS 0.11.0

<~>
talyssonoc 2844 days ago. link parent 1 point
What I mostly intend with this lib is flexibility.

About the location, the lib doesn't opinate about that. I do use the fallback system here, it only happens that the examples on the lib itself don't use the location.


There is a default language configuration (if I understood what you said), you just have to pass the `defaultLocale` option.

I don't wan't to opinate about the file names, the main reason of this lib is give freedom for the user to set it the way it's easier for him/her. I plan to allow the user to pass an object directly instead of the path too, so it will be even more flexible.

If the user want to use some fiction language that doesn't have a location he'll be able to do that without major efforts.

Replies