From 9b598e0cd68db8359acbcc2c984b1327cd5021a2 Mon Sep 17 00:00:00 2001 From: bxy007 <315379105@qq.com> Date: Fri, 23 Feb 2018 13:58:11 +0800 Subject: [PATCH 1/2] fix error in i18n/README.md --- notebook/i18n/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebook/i18n/README.md b/notebook/i18n/README.md index 04f9004095..a7bdeb1ddc 100644 --- a/notebook/i18n/README.md +++ b/notebook/i18n/README.md @@ -15,6 +15,7 @@ However… run in). Hint: if running Windows, you can set it in PowerShell with `${Env:LANG} = "xx_XX"`. + if running Ubuntu, you should set environment variable `LANGUAGE="xx_XX"`. 2. The preferred language for web pages in your browser settings (`xx`) is also used. At the moment, it has to be first in the list. @@ -23,7 +24,7 @@ Hint: if running Windows, you can set it in PowerShell with `${Env:LANG} = "xx_X ### Requirements -- *pybabel* (could be installed `pip install pybabel`) +- *pybabel* (could be installed `pip install babel`) - *po2json* (could be installed with `npm install -g po2json`) **All i18n-related commands are done from the related directory :** From eb9d2000bfb1cd7acea14ce5ecb22687888d7638 Mon Sep 17 00:00:00 2001 From: bxy007 <315379105@qq.com> Date: Tue, 27 Feb 2018 10:07:27 +0800 Subject: [PATCH 2/2] fix i18n/README.md --- notebook/i18n/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/i18n/README.md b/notebook/i18n/README.md index a7bdeb1ddc..c737dbf544 100644 --- a/notebook/i18n/README.md +++ b/notebook/i18n/README.md @@ -15,7 +15,7 @@ However… run in). Hint: if running Windows, you can set it in PowerShell with `${Env:LANG} = "xx_XX"`. - if running Ubuntu, you should set environment variable `LANGUAGE="xx_XX"`. + if running Ubuntu 14, you should set environment variable `LANGUAGE="xx_XX"`. 2. The preferred language for web pages in your browser settings (`xx`) is also used. At the moment, it has to be first in the list.