i18n-node icon indicating copy to clipboard operation
i18n-node copied to clipboard

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.

Results 90 i18n-node issues
Sort by recently updated
recently updated
newest added

HI, if you call __n() without setLocale beforehand it will throw: ``` var lc = targetLocale.toLowerCase().split(/[_-\s]+/) ^ TypeError: Cannot read property 'toLowerCase' of undefined at Object.i18nTranslatePlural [as __n] (path/node_modules/i18n/i18n.js:371:31) at...

Lets say I have two files, one called es.json and one called es_MX.json and have my common spanish definitions in es.json and my Mexico definitions in es_MX. Is it possible...

feature request

Just started using i18n for a project and was scratching my head for a while as to why the json file I provided kept getting wiped out. I later discovered...

feature request

Hey guys, While using __h to get all the translations on a certain key, when I am inserting an invalid key the result is a follow: key: "test_key" response: [...

Creating two files, ### locales/en-us.json ```json { "hello": "Hello!", "user.name": "Username" } ``` ### locales/sv-se.json ```json { "hello": "Hej!" } ``` Running these in a file like this one; ```js...

This took us some time to debug: Locales are case sensitive when the filesystem is. On OSX (case insensitive) setting the locale to `NL` got strings from `nl.json` In production,...

feature request

Hello everybody ,, How to pass a default translation if a phrase isn't existed in the en.json file i cant find any option to add a default translation if the...

I'm using Express + Handlebars with the library. When I enable objectNotation, the project crashes. With object notation disabled, regular key/value pairs work just fine. Relevant code: ```javascript i18n.configure({ locales:...

A notice at the top of announces the package has been renamed to [@messageformat/core](https://www.npmjs.com/package/@messageformat/core).

Hi, ExpressJS and Jade here. Using your fine library but running into an issue when changing locale. That is, that the key is being shown instead of the default locale...

feature request