Skip to content

Commit e577b6c

Browse files
authoredMay 7, 2020
Merge pull request #5354 from berendjan/Added_NL_language
Added nl language
2 parents a291f31 + 42bc3f7 commit e577b6c

File tree

8 files changed

+4828
-1
lines changed

8 files changed

+4828
-1
lines changed
 

‎notebook/i18n/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Hint: if running Windows, you can set it in PowerShell with `${Env:LANG} = "xx_X
2222

2323
## Contributing and managing translations
2424

25+
Finding and translating the `.pot` files could be (partially) done with a translation API, see the repo [Jupyter Notebook Azure Translator](https://github.com/berendjan/Jupyter-Notebook-Azure-Translator.git) for a possible starting point. (Not affiliated with Jupyter)
26+
2527
### Requirements
2628

2729
- *pybabel* (could be installed `pip install babel`)
@@ -53,6 +55,8 @@ pybabel extract -F babel_nbjs.cfg -o nbjs.pot --no-wrap --project Jupyter .
5355

5456
After this is complete you have 3 `.pot` files that you can give to a translator for your favorite language.
5557

58+
Finding and translating the `.pot` files could be (partially done with a translation API, see the repo [Jupyter Notebook Azure Translator](https://github.com/berendjan/Jupyter-Notebook-Azure-Translator.git) for a possible starting point. (Not affiliated with Jupyter)
59+
5660
### Messages compilation
5761

5862
After the source material has been translated, you should have 3 `.po` files with the same base names

‎notebook/i18n/nbjs.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"domain": "nbjs",
33
"supported_languages": [
44
"fr-FR",
5-
"zh-CN"
5+
"zh-CN",
6+
"nl"
67
],
78
"locale_data": {
89
"nbjs": {

‎notebook/i18n/nl/LC_MESSAGES/nbjs.json

+1,353
Large diffs are not rendered by default.

‎notebook/i18n/nl/LC_MESSAGES/nbjs.po

+2,116
Large diffs are not rendered by default.

‎notebook/i18n/nl/LC_MESSAGES/nbui.mo

11.5 KB
Binary file not shown.

‎notebook/i18n/nl/LC_MESSAGES/nbui.po

+746
Large diffs are not rendered by default.
15.1 KB
Binary file not shown.

‎notebook/i18n/nl/LC_MESSAGES/notebook.po

+607
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.