komodojp / tinyld

Simple and Performant Language detection library for NodeJS
https://komodojp.github.io/tinyld/
MIT License
415 stars 12 forks source link

Indonesian's language code is not correct #4

Closed Shan-Mi closed 2 years ago

Shan-Mi commented 2 years ago

https://github.com/komodojp/tinyld/blob/develop/docs/langs.md language code for Indonesian is not correct.

Shan-Mi commented 2 years ago

sv: Swedish

Shan-Mi commented 2 years ago

ber: Berber

Shan-Mi commented 2 years ago

lt: 'Lithuanian'

Shan-Mi commented 2 years ago

be: 'Belarusian'

kefniark commented 2 years ago

Thanks for you time and your feedback. Indeed this file seems to contain typo and errors.

I checked and those do not exist in the code https://github.com/komodojp/tinyld/blob/develop/src/core.ts#L67

So it seems to be only a documentation issue and bad copy paste. I will see if I cannot get this doc autogenerated from the code, it would avoid such disruptency and typo to occur