i18n-node-list
Small i18n-node extension adding function
__l
which returns a list of known translations for a key
Example
Why would I use this? The new __l
function return an array of translations for a specified key and is especially useful when translating express routes.
var express = ;var i18n = i18n = i18n;var app = ; app; moduleexports = app;
See the i18n-node package for more information.