mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
⚡ Add support for internationalization
This commit is contained in:
parent
2cdfe5b100
commit
60241d3163
|
@ -5,7 +5,8 @@ import {
|
|||
} from "n8n-core";
|
||||
import { Command, flags } from '@oclif/command';
|
||||
const open = require('open');
|
||||
import { promisify } from "util";
|
||||
import { promisify } from 'util';
|
||||
import { dirname } from 'path';
|
||||
|
||||
import * as config from '../config';
|
||||
import {
|
||||
|
@ -21,6 +22,10 @@ import {
|
|||
|
||||
const tunnel = promisify(localtunnel);
|
||||
|
||||
// Add support for internationalization
|
||||
const fullIcuPath = require.resolve('full-icu');
|
||||
process.env.NODE_ICU_DATA = dirname(fullIcuPath);
|
||||
|
||||
let activeWorkflowRunner: ActiveWorkflowRunner.ActiveWorkflowRunner | undefined;
|
||||
let processExistCode = 0;
|
||||
|
||||
|
|
|
@ -71,9 +71,9 @@
|
|||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/jsonwebtoken": "^8.3.4",
|
||||
"@oclif/command": "^1.5.18",
|
||||
"@oclif/errors": "^1.2.2",
|
||||
"@types/jsonwebtoken": "^8.3.4",
|
||||
"basic-auth": "^2.0.1",
|
||||
"body-parser": "^1.18.3",
|
||||
"compression": "^1.7.4",
|
||||
|
@ -82,6 +82,7 @@
|
|||
"dotenv": "^8.0.0",
|
||||
"express": "^4.16.4",
|
||||
"flatted": "^2.0.0",
|
||||
"full-icu": "^1.3.0",
|
||||
"glob-promise": "^3.4.0",
|
||||
"google-timezones-json": "^1.0.2",
|
||||
"inquirer": "^6.5.1",
|
||||
|
|
Loading…
Reference in a new issue