Add auto detection of language using navigator.language, i create an object with key and value.
Keys are the values can be returned by navigator.languages ( list here ) and values are our label for i18n translation files.
Navigator language is set to lowercase for support also safari < 10.2 (here)
I wanted to add test too, but test suite pass every time, even if i try to write test that fail.
@Remeic we will do some old style tests ASAP. ;) thank you very much for your contribution; feel free to choose another issue if you want to. Bye, Alberto
Issue related to #9
Add auto detection of language using navigator.language, i create an object with key and value. Keys are the values can be returned by navigator.languages ( list here ) and values are our label for i18n translation files.
Navigator language is set to lowercase for support also safari < 10.2 (here)
I wanted to add test too, but test suite pass every time, even if i try to write test that fail.
I hope my contribution can be useful