-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnbTranslate.yaml
More file actions
41 lines (38 loc) · 1.47 KB
/
nbTranslate.yaml
File metadata and controls
41 lines (38 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Type: IPython Notebook Extension
Name: nbTranslate
Description: helps translating a notenook and/or selecting the display language
Link: README.md
Main: main.js
Compatibility: Jupyter (4.x)
Parameters:
- name: nbTranslate.hotkey
description: Converts current cell
input_type: hotkey
default: 'Alt-T'
- name: nbTranslate.useGoogleTranslate
description: |
Use Google translate engine for initiating conversion
(it is advised to check the result); otherwise conversion simply copy the current cell contents.
input_type: checkbox
default: true
- name: nbTranslate.sourceLang
description: Source language for conversion, see the list of available languages <a href='nbTranslate/languages.js'> here.</a>
input_type: text
default: 'en'
- name: nbTranslate.targetLang
description: Target language for conversion, see the list of available languages <a href='nbTranslate/languages.js'> here.</a>
input_type: text
default: 'fr'
- name: nbTranslate.displayLangs
description: Displayed language(s) in the notebook; a list of languages, e.g. ['en', 'fr'] or ['*'] for all
input_type: list
list_element:
input_type: text
description: Displayed language(s) in the notebook; a list of languages, e.g. ['en', 'fr'] or ['*'] for all
default: ["en", "fr"]
- name: nbTranslate.langInMainMenu
description: |
Dispay a menu for selecting languages to display (otherwise provides this
menu in the configuration toolbar).
input_type: checkbox
default: true