kawan16 / mithril-translate

Internationalization of your Mithril applications
http://kawan16.github.io/mithril-translate/
23 stars 0 forks source link

no language selected #6

Open rsa2010 opened 8 years ago

rsa2010 commented 8 years ago

A small enhancement to this could be to return an empty string or the original name. I'm starting using mithril and mithril-language on a server running on an embedded machine and am getting the user selected language from an xhtml request, on initialization I don't want to show a default language and have chosen to add the following on line 33: if (!result) { return "..."}

Keep up the great work.......