Friday 20 July 2018

Localization

For all you nodejs-programmers out there:I've created another i18n-package for nodejs (https://ift.tt/2LaEg4N... why should I ever do that - there is i18n and i18n-node already...The big advantages are:Automatic language-fallbacks (zh-CN-Hans => zh-CN => zh => invariant language)Automatic fallbacks even work for single keys:You finally don't need to copy-paste whole language-files for similar languagesDifferent file-formats are supported out of the box:JSONJavaScriptYAMLIt's extensible!The module exports all classes which I've created for this packagewhich means you could even create your very own class for an own file-format (ResX, XML, ini etc.)I hope you guys can make use of it!RegardsManu

Submitted July 20, 2018 at 03:39PM by manuth999

No comments:

Post a Comment