From 880f0e89bb8eb460b49f72a08ae8e28c8bdc5c14 Mon Sep 17 00:00:00 2001 From: VTHINKXIE Date: Mon, 26 Mar 2018 14:21:58 +0800 Subject: [PATCH] fix(module:i18n): fix i18n error without locale (#1220) --- components/i18n/nz-i18n.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/i18n/nz-i18n.service.ts b/components/i18n/nz-i18n.service.ts index b0c52c0c74c..5e4d2293961 100644 --- a/components/i18n/nz-i18n.service.ts +++ b/components/i18n/nz-i18n.service.ts @@ -18,7 +18,7 @@ export class NzI18nService { // TODO: cache more deeply paths for performance /* tslint:disable-next-line:no-any */ translate(path: string, data?: any): string { - this._logger.debug(`[NzI18nService] Translating(${this._locale.locale}): ${path}`); + // this._logger.debug(`[NzI18nService] Translating(${this._locale.locale}): ${path}`); let content = this._getObjectPath(this._locale, path) as string; if (typeof content === 'string') { if (data) {