Marcus Spiegel
Marcus Spiegel
thank you @davidspiess note to myself: express hapi usage in examples
correct, defaultLocale get's applied in ``` js function translate(locale, singular, plural) { if (locale === undefined) { logWarn("WARN: No locale found - check the context of the call to __()....
sure, thx :) ## mobil beantwortet > Am 27.04.2014 um 13:49 schrieb Itamar Weiss [email protected]: > > Can I suggest that it will set the locale for the request? >...
whohoo - great, thank's a lot for sharing. This will certainly get added to Examples in README
the desired workflow of i18n is to let i18n write all your phrases on the fly while you add the code and reload your app (and thus avoiding json syntax...
sure it is - thank you! You might get some inspiration from grunt modules too: - https://www.npmjs.com/package/grunt-template-runner - https://www.npmjs.com/package/grunt-gettext-static-build ...although I never tried them yet
check https://gist.github.com/aseemk/6137395 for parsing skript, there might be more I never knew :) getting a simple cli included into i18n will be interesting in near future
no matter of purpose but easy to integrate. Could you also define some assertions for that? Like simple `__()`: ``` javascript 'and some basic translations should still work': function ()...
…been investigating a fastify implementation. ended up with something like https://github.com/tus/tus-node-server/issues/241
maybe also related to: #382